Skip to content

Commit

Permalink
fix keyspace's result wrong (#2369)
Browse files Browse the repository at this point in the history
Co-authored-by: wuxianrong <wuxianrong@360.cn>
  • Loading branch information
Mixficsol and wuxianrong authored Feb 2, 2024
1 parent 3ced41a commit 5c916f4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/pika_db.cc
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ void DB::KeyScan() {
return;
}

key_scan_info_.key_scaning_ = true;
key_scan_info_.duration = -2; // duration -2 mean the task in waiting status,
// has not been scheduled for exec
auto bg_task_arg = new BgTaskArg();
Expand Down

0 comments on commit 5c916f4

Please sign in to comment.