Skip to content

Commit

Permalink
[data_store] datastore remove no longer asserts on the thing already …
Browse files Browse the repository at this point in the history
…existing. its silly and makes the api pointlessly aggressive
  • Loading branch information
harrand committed Mar 23, 2024
1 parent 5558e28 commit 7e7e37b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tz/core/data/data_store.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace tz
{
TZ_PROFZONE("data_store - remove", 0xFF3377AA);
std::unique_lock<mutex> ulock(this->mtx);
tz::assert(this->contains_nolock(remove.key), "remove called on %s, which does not exist in the datastore", remove.key.data());
//tz::assert(this->contains_nolock(remove.key), "remove called on %s, which does not exist in the datastore", remove.key.data());
this->store.erase(remove.key);
}

Expand Down

0 comments on commit 7e7e37b

Please sign in to comment.