mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-10 09:55:45 +02:00
chore(server): Fix watch (#3557)
This commit is contained in:
parent
3fd3c40b74
commit
0e4e971ad9
3 changed files with 19 additions and 8 deletions
|
@ -506,8 +506,8 @@ void Transaction::MultiUpdateWithParent(const Transaction* parent) {
|
|||
|
||||
void Transaction::MultiBecomeSquasher() {
|
||||
DCHECK(multi_->mode == GLOBAL || multi_->mode == LOCK_AHEAD);
|
||||
DCHECK_GT(GetUniqueShardCnt(), 0u); // initialized and determined active shards
|
||||
DCHECK(cid_->IsMultiTransactional()); // proper base command set
|
||||
DCHECK_GT(GetUniqueShardCnt(), 0u); // initialized and determined active shards
|
||||
DCHECK(cid_->IsMultiTransactional()) << cid_->name(); // proper base command set
|
||||
multi_->role = SQUASHER;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue