Commit de08bbf8 authored by adilr3's avatar adilr3
Browse files

set invalidate flags on write/remove

parent 7ccfbd49
......@@ -427,7 +427,7 @@ ObjectManager::removeObject(Key& key, RejectRules* rejectRules,
LogEntryType type;
Buffer buffer;
Log::Reference reference;
if (!lookup(lock, key, type, buffer, NULL, &reference) ||
if (!lookup(lock, key, type, buffer, NULL, &reference,NULL,true) ||
type != LOG_ENTRY_TYPE_OBJ) {
static RejectRules defaultRejectRules;
if (rejectRules == NULL)
......@@ -1221,7 +1221,7 @@ ObjectManager::writeObject(Object& newObject, RejectRules* rejectRules,
HashTable::Candidates currentHashTableEntry;
if (lookup(lock, key, currentType, currentBuffer, 0,
&currentReference, &currentHashTableEntry)) {
&currentReference, &currentHashTableEntry,true)) {
if (currentType == LOG_ENTRY_TYPE_OBJTOMB) {
CleanupParameters params = { this , &lock };
removeIfTombstone(currentReference.toInteger(), &params);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment