diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-03-20 23:39:32 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-03-20 23:39:32 -0700 |
| commit | d3e4a31058344698b3365cafcad031406b73b1bf (patch) | |
| tree | 38688a6c697626570fda60eb9054d661b7224daa | |
| parent | cbfe31a9a8e94b9601e59497e4a272374bba50f3 (diff) | |
| download | seaweedfs-d3e4a31058344698b3365cafcad031406b73b1bf.tar.xz seaweedfs-d3e4a31058344698b3365cafcad031406b73b1bf.zip | |
filer: fix where deletion can miss under high concurrency
| -rw-r--r-- | weed/util/queue_unbounded.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/util/queue_unbounded.go b/weed/util/queue_unbounded.go index 664cd965e..496b9f844 100644 --- a/weed/util/queue_unbounded.go +++ b/weed/util/queue_unbounded.go @@ -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...) } |
