Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
batchput set ttl to every key (#10891)
* 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>
- Loading branch information
1 parent
ea1499f
commit f983827
Showing
13 changed files
with
169 additions
and
66 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.