Skip to content

Commit c27e105

Browse files
committed
Fixes failing test
1 parent f07f5c4 commit c27e105

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/storage/segments.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ func NewSegments(config *Config, index *Index) (*Segments, error) {
3030
active: segment,
3131
index: index,
3232
closedSegments: make([]*Segment, 0),
33+
mu: &sync.Mutex{},
3334
}, nil
3435
}
3536

0 commit comments

Comments
 (0)