facebook / facebook/rocksdb

Stale reads when using `Iterator::Refresh()`

Open
#7,212 7 comments 0 reactions 1 assignee Claimed by @riversand963 View on GitHub
Dominant language
C++
Stars
32.1k
Forks
6.9k
Avg merge
32m
Merged PRs (30d)
1

Description

### Expected behavior

The expected behavior is that reads through an iterator should see all writes that have completed prior to calling `Refresh()`.

### Actual behavior

Reads through such an iterator sometimes miss updates that were committed prior to calling `Refresh()`

### Steps to reproduce the behavior

Unfortunately, we don't have a great reproduction outside of the FoundationDB integration currently. We have been trying to replicate outside of FoundationDB and would be more than happy to help anyone working on this build FDB and run the tests that expose this bug.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.