We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f07f5c4 commit c27e105Copy full SHA for c27e105
internal/storage/segments.go
@@ -30,6 +30,7 @@ func NewSegments(config *Config, index *Index) (*Segments, error) {
30
active: segment,
31
index: index,
32
closedSegments: make([]*Segment, 0),
33
+ mu: &sync.Mutex{},
34
}, nil
35
}
36
0 commit comments