Skip to content

Commit

Permalink
fix wide query lock
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanhall07 committed Feb 6, 2021
1 parent 2073eb9 commit 0fb1e29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dbnode/storage/index/wide_query_results.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func NewWideQueryResults(
}

func (r *wideResults) TotalDuration() ResultDurations {
r.RUnlock()
r.RLock()
defer r.RUnlock()
return r.resultDuration
}
Expand Down

0 comments on commit 0fb1e29

Please sign in to comment.