Unlock index if dropping non-existent series

pull/8172/head
Jason Wilder 2017-03-21 09:19:44 -06:00
parent 7f78c6ad8e
commit 92c722913d
1 changed files with 1 additions and 0 deletions

View File

@ -492,6 +492,7 @@ func (i *Index) DropSeries(key []byte) error {
k := string(key)
series := i.series[k]
if series == nil {
i.mu.Unlock()
return nil
}