Skip to content

Commit

Permalink
bring back comments
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Chi Z <chi@neon.tech>
  • Loading branch information
skyzh committed Jan 13, 2025
1 parent 8896089 commit 9ec19bd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pageserver/src/tenant/timeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3791,6 +3791,9 @@ impl Timeline {
1,
"currently sparse keyspace should only contain a single metadata keyspace"
);
// Safety: create_image_layers treat sparse keyspaces differently that it does not scan
// every single key within the keyspace, and therefore, it's safe to force converting it
// into a dense keyspace before calling this function.
partitions
.parts
.extend(metadata_partition.into_dense().parts);
Expand Down

0 comments on commit 9ec19bd

Please sign in to comment.