File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ func (s *scheduler) DoExecute(work func()) {
170170
171171func (s * scheduler ) findConflicts (task * deliverTxTask ) (bool , []int , []string ) {
172172 var conflicts []int
173- var conflictKeys []string
173+ conflictKeys := make ( []string , 0 , len ( s . multiVersionStores ))
174174 uniq := make (map [int ]struct {})
175175 valid := true
176176 for _ , mv := range s .multiVersionStores {
Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ func (s *scheduler) DoExecute(work func()) {
170170
171171func (s * scheduler ) findConflicts (task * deliverTxTask ) (bool , []int , []string ) {
172172 var conflicts []int
173- var conflictKeys []string
173+ conflictKeys := make ( []string , 0 , len ( s . multiVersionStores ))
174174 uniq := make (map [int ]struct {})
175175 valid := true
176176 for _ , mv := range s .multiVersionStores {
You can’t perform that action at this time.
0 commit comments