Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into mmap4
Browse files Browse the repository at this point in the history
  • Loading branch information
small-turtle-1 committed Jan 6, 2025
2 parents a3f1e02 + 7830b9b commit 8ea1e2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/storage/invertedindex/memory_indexer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ void MemoryIndexer::Dump(bool offline, bool spill) {
while (GetInflightTasks() > 0) {
CommitSync(100);
}
std::unique_lock lock(mutex_commit_);

String posting_file = Path(index_dir_) / (base_name_ + POSTING_SUFFIX + (spill ? SPILL_SUFFIX : ""));
String dict_file = Path(index_dir_) / (base_name_ + DICT_SUFFIX + (spill ? SPILL_SUFFIX : ""));
Expand Down

0 comments on commit 8ea1e2a

Please sign in to comment.