Skip to content

Commit 218377e

Browse files
committed
Update comment
1 parent fa06ccb commit 218377e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rust/segment/src/blockfile_metadata.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ impl<'me> MetadataSegmentWriter<'me> {
117117
return Err(MetadataSegmentError::InvalidSegmentType);
118118
}
119119
// NOTE: We hope that all blockfiles of the same collection should live under the same prefix.
120-
// But according to the implementation above the forking child collection will live under the root
121-
// collection prefix. Although this is not a desired behavior, as a temporary fix we create the sparse
120+
// The implementation below implies all collection in the fork tree share the same prefix for
121+
// blockfiles. Although this is not a desired behavior, as a temporary fix we create the sparse
122122
// vector index blockfiles under the same prefix as other blockfiles if they are present.
123123
let prefix_path =
124124
if let Some(existing_file_path) = segment.file_path.values().flatten().next() {

0 commit comments

Comments
 (0)