diff options
author | Tor Egge <Tor.Egge@broadpark.no> | 2018-11-19 16:31:31 +0100 |
---|---|---|
committer | Tor Egge <Tor.Egge@broadpark.no> | 2018-11-19 16:32:14 +0100 |
commit | 4b1cb1cfd520c64fa0db1b549d08526430cc1a3b (patch) | |
tree | 7fc921170f50c46ec8ea9bac277de7da536f3d97 | |
parent | 0062686ea757a8434ad256ed875ee56c4ed9293a (diff) |
Thaw dictionary in unique store when changing reference during compaction.
-rw-r--r-- | searchlib/src/vespa/searchlib/datastore/unique_store.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/vespa/searchlib/datastore/unique_store.hpp b/searchlib/src/vespa/searchlib/datastore/unique_store.hpp index ab526ccbfc2..928dbea89ed 100644 --- a/searchlib/src/vespa/searchlib/datastore/unique_store.hpp +++ b/searchlib/src/vespa/searchlib/datastore/unique_store.hpp @@ -134,8 +134,8 @@ private: EntryRef &mappedRef = _mapping[iRef.bufferId()][iRef.offset()]; assert(!mappedRef.valid()); EntryRef newRef = _store.move(itr.getKey()); - std::atomic_thread_fence(std::memory_order_release); mappedRef = newRef; + _dict.thaw(itr); itr.writeKey(newRef); } ++itr; |