infinity
infinity copied to clipboard
[Feature Request]: Introduce deprecated TS in DBEntry, TableEntry and IndexEntry
Is there an existing issue for the same feature request?
- [X] I have checked the existing issues.
Describe the feature you'd like
The db_entry, table_entry, and index_entry in the current infinity metadata are all prompted for deletion operations by introducing a entry with delete flag. The initial motivation for doing this was to provide an append only metadata management, but today many operations have already begun to modify several metadata entries above, so this design is meaningless. So, this issue proposes to introduce a deprecated timestamp for db_entry, table_entry, and index_entry to mark the end versions of this entry.