Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyValueStore: Method to check key-value store record exists #178

Open
drobnikj opened this issue Feb 7, 2024 · 1 comment
Open

KeyValueStore: Method to check key-value store record exists #178

drobnikj opened this issue Feb 7, 2024 · 1 comment
Labels
backend Issues related to the platform backend. low priority Low priority issues to be done eventually. product roadmap Issues synchronized to product roadmap. t-tooling Issues with this label are in the ownership of the tooling team.

Comments

@drobnikj
Copy link
Member

drobnikj commented Feb 7, 2024

It is impossible to check if a key-value record exists, and users use kvs.getRecord instead, which is inefficient.

The implementation is simple: to check if a record exists, you can use an HTTP request with the method HEAD get Record API URL.

Method:
keyValueStoreClient.exists(key: str): bool
which returns true or false based on the record.

@drobnikj drobnikj added t-tooling Issues with this label are in the ownership of the tooling team. t-platform Issues with this label are in the ownership of the platform team. labels Feb 7, 2024
@tusharwebd
Copy link

Hi! New contributor here, I'd be interested to work on this. Can you share some more details? About where the existing method is implemented and where we want to implement the new method?

@fnesveda fnesveda added low priority Low priority issues to be done eventually. product roadmap Issues synchronized to product roadmap. backend Issues related to the platform backend. labels Feb 13, 2024
@fnesveda fnesveda removed the t-platform Issues with this label are in the ownership of the platform team. label Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Issues related to the platform backend. low priority Low priority issues to be done eventually. product roadmap Issues synchronized to product roadmap. t-tooling Issues with this label are in the ownership of the tooling team.
Projects
None yet
Development

No branches or pull requests

3 participants