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
batchput set ttl to every key #10891
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
@daimashusheng please elaborate the background of this PR or create an issue for it. |
59c89f5
to
c5059d9
Compare
19e735c
to
2ff65ab
Compare
Please sign off all of your commits or else the DCO check will complain. |
ca3e065
to
8bb194e
Compare
…ore instead of option<ttl> Signed-off-by: tangjk <tangjiankun1226@gmail.com>
added |
Signed-off-by: tangjk <tangjiankun1226@gmail.com>
/run-all-tests |
1 similar comment
/run-all-tests |
@iosmanthus PTAL |
/run-all-tests |
Rest LGTM. Waiting for the test result. |
/run-all-tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/merge |
@andylokandy: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests You only need to trigger If you have any questions about the PR merge process, please refer to pr process. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
This pull request has been accepted and is ready to merge. Commit hash: 160847f
|
/merge |
@andylokandy: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests You only need to trigger If you have any questions about the PR merge process, please refer to pr process. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
/run-all-tests |
5 similar comments
/run-all-tests |
/run-all-tests |
/run-all-tests |
/run-all-tests |
/run-all-tests |
* rebase code to make other's commit history be eliminated Signed-off-by: tangjk <tangjiankun1226@gmail.com> * eliminate idx loop by zipping iter of ttls to kvs in atomic store Signed-off-by: tangjk <tangjiankun1226@gmail.com> * modify enum name make it's meaning clearer Signed-off-by: tangjk <tangjiankun1226@gmail.com> * remove nouseful code Signed-off-by: tangjk <tangjiankun1226@gmail.com> * make enum more readable Signed-off-by: tangjk <tangjiankun1226@gmail.com> * 1. add units test for batch_put ttls 2. using enable_ttl in atomic_store instead of option<ttl> Signed-off-by: tangjk <tangjiankun1226@gmail.com> * just declare local varibale when it is used Signed-off-by: tangjk <tangjiankun1226@gmail.com> Co-authored-by: Andy Lok <andylokandy@hotmail.com>
my issue: pingcap/kvproto#807
I add ttls param for BatchPut request so that it can set independent ttl for every key