mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
filer: fix where deletion can miss under high concurrency
This commit is contained in:
parent
cbfe31a9a8
commit
d3e4a31058
|
@ -18,7 +18,7 @@ func (q *UnboundedQueue) EnQueue(items ...string) {
|
||||||
q.inboundLock.Lock()
|
q.inboundLock.Lock()
|
||||||
defer q.inboundLock.Unlock()
|
defer q.inboundLock.Unlock()
|
||||||
|
|
||||||
q.outbound = append(q.outbound, items...)
|
q.inbound = append(q.inbound, items...)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue