mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 18:35:46 +02:00
bug(list_family): fix BPopPusher command replication (#899)
* bug(list_family): fix BPopPusher command replication Signed-off-by: adi_holden <adi@dragonflydb.io>
This commit is contained in:
parent
d6b588d1bf
commit
7ae316a85d
1 changed files with 2 additions and 2 deletions
|
@ -953,8 +953,8 @@ OpResult<string> BPopPusher::RunSingle(Transaction* t, time_point tp) {
|
|||
OpArgs op_args = t->GetOpArgs(shard);
|
||||
op_res = OpMoveSingleShard(op_args, pop_key_, push_key_, popdir_, pushdir_);
|
||||
if (op_res && op_args.shard->journal()) {
|
||||
ArgSlice args{pop_key_, push_key_, DirToSv(popdir_), DirToSv(pushdir_)};
|
||||
RecordJournal(op_args, "LMOVE", args, 1);
|
||||
std::array<string_view, 4> arr = {pop_key_, push_key_, DirToSv(popdir_), DirToSv(pushdir_)};
|
||||
RecordJournal(op_args, "LMOVE", arr, 1);
|
||||
}
|
||||
return OpStatus::OK;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue