Skip to content

Commit

Permalink
manifest: remove invalid comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bananabrick committed Sep 17, 2023
1 parent 6d6570b commit be15864
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions internal/manifest/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,13 +169,6 @@ type FileMetadata struct {
// FileNum is the file number.
//
// INVARIANT: when !FileMetadata.Virtual, FileNum == FileBacking.DiskFileNum.
//
// TODO(bananabrick): Consider creating separate types for
// FileMetadata.FileNum and FileBacking.FileNum. FileNum is used both as
// an indentifier for the FileMetadata in Pebble, and also as a handle to
// perform reads and writes. We should ensure through types that
// FileMetadata.FileNum isn't used to perform reads, and that
// FileBacking.FileNum isn't used as an identifier for the FileMetadata.
FileNum base.FileNum
// Size is the size of the file, in bytes. Size is an approximate value for
// virtual sstables.
Expand Down

0 comments on commit be15864

Please sign in to comment.