forked from apache/kvrocks
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MSET change it to batch write instead of batch per key (apache#1634)
The previous implementation which wrote the batch per key, we should change it to a single batch. Also use the multi-key lock before the write operations instead of inside the loop. This is mention in apache#1631, found by hulk. Co-authored-by: mwish <1506118561@qq.com>
- Loading branch information
1 parent
20b49b4
commit 0e73fec
Showing
1 changed file
with
16 additions
and
11 deletions.
There are no files selected for viewing
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