-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Support timestamp bounded read-only transactions on data replicas Tasklist #21094
Comments
For decoupling Resolved TS, may include the following changes:
|
Hi, @sunxiaoguang , Is anyone interested in #21522 and #21540? |
assign |
assign |
Hi @NingLin-P ! I'd like to know that is stale read included in v5.1.0? |
@tisonkun It is in release-5.1 branch, fixing bugs and testing. But you could try if you like. |
@xhebox thanks! |
filed tikv/tikv#11015 for adding metrics for stale read |
Development Task
Timestamp bounded read-only transactions return stale data within a user-provided staleness bound, and can provide better performance than normal read-only transactions:
ReadIndex
request can be avoided and reduce the network latency cost, especially in cross-region deployment.staleness
, write-read conflict can be greatly reducedIssue: #19817
Propoasl: Follower to serve local(stale) read (In Chinese)
New feature
Basic work
Timestamp bounded read-only transactions
Support exact staleness read-only transactions
WITH Staleness
toAS OF
clause #24291 @JmPotatoSupport bounded staleness read-only transactions
Compatibility with other features
Errors handling @JmPotato
Supports
SET TRANSACTION READ ONLY AS OF
#22765SET TRANSACTION READ ONLY AS OF
@YisaerSET TRANSACTION READ ONLY AS OF
executor: implement set transaction read only as of transaction #24766 @YisaerSupports Select statement with ASOF #24557
SELECT ... AS OF ..
Support syntaxSET TRANSACTION READ ONLY AS OF ...
andSELECT ... AS OF
for Stale read #22765 P1 @nolouchPointGet optimize
withusemaxts
do not work in stale readTiKV
EpochNotMatch
errorTODO:
The text was updated successfully, but these errors were encountered: