Skip to content

Commit eecc4e1

Browse files
authored
Initialize tablets map when creating a group. (#3360)
1 parent bf18f9e commit eecc4e1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

worker/groups.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ func groups() *groupi {
6969
func StartRaftNodes(walStore *badger.DB, bindall bool) {
7070
gr = &groupi{
7171
blockDeletes: new(sync.Mutex),
72+
tablets: make(map[string]*pb.Tablet),
7273
}
7374
gr.ctx, gr.cancel = context.WithCancel(context.Background())
7475

0 commit comments

Comments
 (0)