Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
csun5285 committed Dec 10, 2024
1 parent 7b3245e commit 32ff0b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion be/src/olap/snapshot_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ Status SnapshotManager::_create_snapshot_files(const TabletSharedPtr& ref_tablet
auto index_file = InvertedIndexDescriptor::get_index_file_path_v1(
InvertedIndexDescriptor::get_index_file_path_prefix(
segment_file_path),
index_id, "");
index_id, index->get_index_suffix());
auto snapshot_segment_index_file_path =
fmt::format("{}/{}_{}_{}.binlog-index", schema_full_path, rowset_id,
segment_index, index_id);
Expand Down
2 changes: 1 addition & 1 deletion be/src/olap/tablet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2638,7 +2638,7 @@ void Tablet::gc_binlogs(int64_t version) {
for (const auto& index : tablet_schema()->inverted_indexes()) {
auto index_file = InvertedIndexDescriptor::get_index_file_path_v1(
InvertedIndexDescriptor::get_index_file_path_prefix(segment_file_path),
index->index_id(), "");
index->index_id(), index->get_index_suffix());
wait_for_deleted_binlog_files.emplace_back(index_file);
}
} else if (tablet_schema()->has_inverted_index()) {
Expand Down

0 comments on commit 32ff0b1

Please sign in to comment.