mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 10:25:47 +02:00
fix: call NotifyPending only from tx queue invocations (#1439)
* fix: call NotifyPending only from tx queue invocations --------- Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>
This commit is contained in:
parent
f25098bb98
commit
6f78ae5073
5 changed files with 61 additions and 11 deletions
|
@ -196,6 +196,9 @@ void BlockingController::FinalizeWatched(ArgSlice args, Transaction* tx) {
|
|||
}
|
||||
|
||||
void BlockingController::NotifyPending() {
|
||||
const Transaction* tx = owner_->GetContTx();
|
||||
CHECK(tx == nullptr) << tx->DebugId();
|
||||
|
||||
DbContext context;
|
||||
context.time_now_ms = GetCurrentTimeMs();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue