Ensure the hash is passed through when moving tombstones
Former-commit-id: 91c8d2d38a33175c64c987b75e94c4b8782a3cdc
This commit is contained in:
parent
b678ff7d3e
commit
b4d0679232
@ -393,7 +393,7 @@ void redisDbPersistentData::endSnapshot(const redisDbPersistentDataSnapshot *psn
|
|||||||
#ifdef CHECKED_BUILD
|
#ifdef CHECKED_BUILD
|
||||||
serverAssert(m_spdbSnapshotHOLDER->m_pdbSnapshot->find_cached_threadsafe((const char*)dictGetKey(de)) != nullptr);
|
serverAssert(m_spdbSnapshotHOLDER->m_pdbSnapshot->find_cached_threadsafe((const char*)dictGetKey(de)) != nullptr);
|
||||||
#endif
|
#endif
|
||||||
dictAdd(m_spdbSnapshotHOLDER->m_pdictTombstone, sdsdupshared((sds)dictGetKey(de)), nullptr);
|
dictAdd(m_spdbSnapshotHOLDER->m_pdictTombstone, sdsdupshared((sds)dictGetKey(de)), dictGetVal(de));
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else if (deSnapshot == nullptr)
|
else if (deSnapshot == nullptr)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user