facebook / rocksdb

A library that provides an embeddable, persistent key-value store for fast storage.
http://rocksdb.org
GNU General Public License v2.0
28.39k stars 6.29k forks source link

[WIP]Allow commit with arbitrary timestamp if no record found for key #12698

Closed jowlyzhang closed 1 week ago

jowlyzhang commented 4 months ago

As titled. When no records for keys can be found in the DB, this allows user to set arbitrary commit timestamp regardless of the read timestamp set for validation since this is a safe operation.

Test plan: Added unit test.