1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-05-19 18:01:03 +02:00

filer: fix where deletion can miss under high concurrency

This commit is contained in:
Chris Lu 2020-03-20 23:39:32 -07:00
parent cbfe31a9a8
commit d3e4a31058

View file

@ -18,7 +18,7 @@ func (q *UnboundedQueue) EnQueue(items ...string) {
q.inboundLock.Lock()
defer q.inboundLock.Unlock()
q.outbound = append(q.outbound, items...)
q.inbound = append(q.inbound, items...)
}