wkalt / dp3

multimodal log database
Other
12 stars 0 forks source link

Add db truncate command #20

Closed jainilajmera closed 4 months ago

jainilajmera commented 4 months ago

This commit adds a new command to perform a logical data truncation at a particular timestamp. This makes data inserted prior to that timestamp unreachable by read requests. To prevent reads from accessing deleted files, it is necessary to truncate tables prior to the time when storage retention policies would delete their objects.

It also removes the in-memory rootmap and collapses the version store into the rootmap.