-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
Incorrect timestamps returns by MultiGet when hit row cache #7930
Comments
Yeah, currently timestamp + row_cache is not supported yet. |
Hi @burtonli , would you like to contribute this feature? |
I don't have plan in short future. |
i am happy to take a look at this one |
Thank you @thejchap , do we have any finding on this? |
@burtonli thanks for following up. got derailed with team selection and onboarding. fully onboarded now and easing back in to normal day to day life. i plan to revisit this next week. |
Hi @thejchap , is there any update on this bug fix? |
Hi @thejchap , any updates on this issue? If this issue is still up for grad, can I work on this? |
@cz2h all yours |
Expected behavior
Timestamps returned by MultiGet should be matched with timestamps of WriteOptions when records were written .
Actual behavior
When hit record cache, the returned timestamps are matched with the timestamp of ReadOptions.
Steps to reproduce the behavior
Initial DB with enough capacity for row_cache.
Root cause:
In the implementation of TableCache::Get(), when the user query key hit row cache, it call replayGetContextLog() by directly passing user query key, where it will extract query timestamp (1500) instead of timestamp for the record (1000).
@riversand963
Internal ref: T86715827
The text was updated successfully, but these errors were encountered: