how to ensure an iterator can see a write

15 views
Skip to first unread message

John Calcote

unread,
Jul 23, 2025, 3:57:06 PMJul 23
to rocksdb
I have a use case wherein I need to open an iterator and ensure that it can see a specific write (where the write was written using a batch with the write option setSync(true)). I have the option of doing a blocking operation if necessary to ensure the target write is visible to the iterator, as long as I don't wait too long.

I'm looking for the most efficient way to do this. Thoughts?

Thanks in advance,
John
Reply all
Reply to author
Forward
0 new messages