mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2024-12-14 11:58:02 +00:00
bug(replica): call add entry outside DCHECK (#896)
Signed-off-by: adi_holden <adi@dragonflydb.io>
This commit is contained in:
parent
15ee7224a1
commit
d6b588d1bf
1 changed files with 2 additions and 1 deletions
|
@ -1232,7 +1232,8 @@ bool Replica::TransactionData::IsGlobalCmd() const {
|
|||
|
||||
Replica::TransactionData Replica::TransactionData::FromSingle(journal::ParsedEntry&& entry) {
|
||||
TransactionData data;
|
||||
DCHECK(data.AddEntry(std::move(entry)));
|
||||
bool res = data.AddEntry(std::move(entry));
|
||||
DCHECK(res);
|
||||
return data;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue