Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions server/matchmaker_process.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ func (m *LocalMatchmaker) processDefault(activeIndexCount int, activeIndexesCopy
for hitCounter, hit := range blugeMatches.Hits {
hitIndex, ok := indexesCopy[hit.ID]
if !ok {
// Ticket did not exist, should not happen.
m.logger.Warn("matchmaker process missing index", zap.String("ticket", hit.ID))
// Ticket did not exist, can happen if tickets were added to bluge but are not part of the
// current working snapshot of indexCopy tickets. Skip it.
continue
}

Expand Down Expand Up @@ -431,8 +431,8 @@ func (m *LocalMatchmaker) processOverride(activeIndexesCopy map[string]*Matchmak

hitIndex, ok := indexesCopy[hit.ID]
if !ok {
// Ticket did not exist, should not happen.
m.logger.Warn("matchmaker process missing index", zap.String("ticket", hit.ID))
// Ticket did not exist, can happen if tickets were added to bluge but are not part of the
// current working snapshot of indexCopy tickets. Skip it.
continue
}

Expand Down
Loading