forked from OpenAtomFoundation/pika
-
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.
fix:can't sync binlog when exec redis cmd setnx (OpenAtomFoundation#940)
bugfix: can't sync binlog when exec redis command setnx and the key was exist. when exec cmd setnx, if the key was exist, the value was not update by this cmd. the binlog of this cmd will be saved into binlog file, but binlog length was zero. so can't do sync log. so i fixed this issue, by writing binlog of setnx not judge from command return value.
- Loading branch information
1 parent
724cedb
commit 0187707
Showing
1 changed file
with
21 additions
and
23 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