Clear tombstone dict when clearing database we don't need it

Former-commit-id: a8e1ef075eacfc0b767302f2514ca6f0342982bc
This commit is contained in:
John Sully 2020-06-04 00:17:19 -04:00
parent 4cf14b6e49
commit b39f917335

View File

@ -2266,6 +2266,7 @@ void redisDbPersistentData::clear(void(callback)(void*))
m_setexpire = new (MALLOC_LOCAL) expireset();
if (m_spstorage != nullptr)
m_spstorage->clear();
dictEmpty(m_pdictTombstone,nullptr);
m_pdbSnapshot = nullptr;
}