facebook / rocksdb

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

Add transactional/read-your-own-write MultiGetEntity stress test #12717

Closed ltamasi closed 1 month ago

ltamasi commented 1 month ago

Summary: The PR adds Transaction::MultiGetEntity to the stress tests. Similarly to what we do for Transaction::MultiGet, in this mode we open a transaction and randomly add writes for some of the queried keys to it while keeping track of the values written on a per-key basis. The results of Transaction::MultiGetEntity can then be validated against these expected values (in order to test the read-your-own-writes functionality) as well as the results returned by Transaction::GetEntity for the same keys.

Differential Revision: D57990210

facebook-github-bot commented 1 month ago

This pull request was exported from Phabricator. Differential Revision: D57990210

facebook-github-bot commented 1 month ago

This pull request was exported from Phabricator. Differential Revision: D57990210

facebook-github-bot commented 1 month ago

This pull request has been merged in facebook/rocksdb@6f17056e401f458d9512b9950af46d8b5e3527fe.