Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
Fix misleading comment
Browse files Browse the repository at this point in the history
  • Loading branch information
MBkkt committed Oct 2, 2023
1 parent e43db44 commit 0c52478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/index/index_writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1206,7 +1206,7 @@ void IndexWriter::Clear(uint64_t tick) {
// Ensure there are no active struct update operations
to_commit.ctx->pending_.Wait();

Abort(); // Abort ongoing Commit, iff IndexWriter::Begin() was used
Abort(); // iff Clear called between Begin and Commit
ApplyFlush(std::move(to_commit));
Finish();

Expand Down

0 comments on commit 0c52478

Please sign in to comment.