PragmaTwice commented on PR #2402: URL: https://github.com/apache/kvrocks/pull/2402#issuecomment-2222833264
> And we use the second bit of the flags in metadata to indicate whether encode the expiration into value. As we specified in https://kvrocks.apache.org/community/data-structure-on-rocksdb#encoding-version-and-data-type, the first and second (and maybe more bits from the MSB) is used to represent the "encoding version". `flags` `1 1 0 0 | 0 0 1 0` indicates that the encoding version is 4. So it should not be used for field expiration. Instead, you can add a new enum value of data type, or add a new field in the metadata of hash. -- 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]
