-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The behaviour of GetUpdatesSince is not the same as documented #1565
Comments
i m interested in it , but i dont understand how to read data .batch_result is batch class for executing a batch not for read what i executed before. I might to find i put the key X and value Y for example. And then if i work with columns how to do? |
@bluesalt yeah, it is possible that the requested seq meets the following conditions:
while the Proposed a fix in #9355 |
Summary: Make `DB::GetUpdatesSince` return early if told to scan WALs generated by transactions with write-prepared or write-unprepared policies (`seq_per_batch` is true), as indicated by API comment. Also add checks to `TransactionLogIterator` to clarify some conditions. No API change. Pull Request resolved: #9459 Test Plan: make check Closing #1565 Reviewed By: akankshamahajan15 Differential Revision: D33821243 Pulled By: riversand963 fbshipit-source-id: c8b155d020ce0980e2d3b3b1da40b96e65b48d79
Here is the document of the API
It is clear that the iterator should be after the requested seq_no if the requested seq_no is not existing. I have a db which currently holds two sequence number 1, 4. However, the following programming emits
Per the document, only
4
should be emitted. Do I misunderstand the doc ?Here is the program:
The text was updated successfully, but these errors were encountered: