You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to be able to store the index in an object store. This needs the segment implementation to be able to load segment data from remote storage. Current implementation is tightly coupled to local file system via mmap of an os.File.
My proposal is to replace mm field in Segment struct with the slice interface like:
type Slice interface {
func range(start, end int) []byte
func len() int
}
and allow a custom slice implementation that manages data.
The text was updated successfully, but these errors were encountered:
I would like to be able to store the index in an object store. This needs the segment implementation to be able to load segment data from remote storage. Current implementation is tightly coupled to local file system via mmap of an os.File.
My proposal is to replace mm field in Segment struct with the slice interface like:
type Slice interface {
func range(start, end int) []byte
func len() int
}
and allow a custom slice implementation that manages data.
The text was updated successfully, but these errors were encountered: