Clear tombstone dict when clearing database we don't need it
Former-commit-id: a8e1ef075eacfc0b767302f2514ca6f0342982bc
This commit is contained in:
parent
4cf14b6e49
commit
b39f917335
@ -2266,6 +2266,7 @@ void redisDbPersistentData::clear(void(callback)(void*))
|
|||||||
m_setexpire = new (MALLOC_LOCAL) expireset();
|
m_setexpire = new (MALLOC_LOCAL) expireset();
|
||||||
if (m_spstorage != nullptr)
|
if (m_spstorage != nullptr)
|
||||||
m_spstorage->clear();
|
m_spstorage->clear();
|
||||||
|
dictEmpty(m_pdictTombstone,nullptr);
|
||||||
m_pdbSnapshot = nullptr;
|
m_pdbSnapshot = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user