ltagliamonte-dd commented on PR #2827:
URL: https://github.com/apache/kvrocks/pull/2827#issuecomment-2725069805
> @ltagliamonte-dd Could you please explain how the data returned by this
command will be used for "SSTable sideloading"? Just to understand the flow.
Sure thing @torwig, here more details:
For my understanding data types that use versioning (like sets,zset,hash)
share the key version with their sub keys.
For example for hash data types (HSET Key subKey1 subKey1val1) there is a
rocksdb row for the `Key` and an row for `subKey1`.
The `Key` and the `subKey1` share the metadata.version.
When writing to kvrocks there are 2 use cases:
- add a new key
a new version is created for the `Key` and that version is inherited by
`subKey1`
- update an existing key
the version needs to be retrieved from the `Key` and shared with the
`subKey1`
This new CMD covers the update of an existing key.
I'm still quite new to the decode/encode part of the project please let me
know if my understanding is not correct.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]