Unlock index if dropping non-existent series
parent
7f78c6ad8e
commit
92c722913d
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue