]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Fix a bug where iterator status is not checked (#11782)
authorChangyu Bi <changyubi@meta.com>
Fri, 1 Sep 2023 16:34:08 +0000 (09:34 -0700)
committerAndrew Kryczka <andrew.kryczka2@gmail.com>
Fri, 1 Sep 2023 20:50:32 +0000 (13:50 -0700)
commite283b751a69e65f6d041029c4241548b667f22a8
tree07ae539c18528b7d9f66dfedd65ea5ae33da422a
parentc15ee5a758cd7c6168fae79360fcde65cb66251f
Fix a bug where iterator status is not checked (#11782)

Summary:
This happens in (Compaction)MergingIterator layer, and can cause data loss during compaction or read/scan return incorrect result

Pull Request resolved: https://github.com/facebook/rocksdb/pull/11782

Reviewed By: ajkr

Differential Revision: D48880575

Pulled By: cbi42

fbshipit-source-id: 2294ad284a6d653d3674bebe55380f12ee4b645b
table/compaction_merging_iterator.cc
table/merging_iterator.cc
unreleased_history/bug_fixes/001_check_iter_status_data_loss.md [new file with mode: 0644]