mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 10:25:47 +02:00
Remove blpop FindFirst hop after wakeup (#1168)
Remove BLPOP hop after wake
This commit is contained in:
parent
e91cb6b153
commit
cb82680aca
5 changed files with 83 additions and 156 deletions
|
@ -287,7 +287,7 @@ void BlockingController::NotifyWatchQueue(std::string_view key, WatchQueueMap* w
|
|||
Transaction* head = wi.get();
|
||||
DVLOG(2) << "WQ-Pop " << head->DebugId() << " from key " << key;
|
||||
|
||||
if (head->NotifySuspended(owner_->committed_txid(), sid)) {
|
||||
if (head->NotifySuspended(owner_->committed_txid(), sid, key)) {
|
||||
// We deliberately keep the notified transaction in the queue to know which queue
|
||||
// must handled when this transaction finished.
|
||||
wq->notify_txid = owner_->committed_txid();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue