storage/filestore: monkit event for delete queuing (#3507)
This commit is contained in:
parent
2f19b0a80e
commit
0d0b5a449b
@ -320,6 +320,7 @@ func (dir *Dir) DeleteWithStorageFormat(ctx context.Context, ref storage.BlobRef
|
|||||||
dir.mu.Lock()
|
dir.mu.Lock()
|
||||||
dir.deleteQueue = append(dir.deleteQueue, trashPath)
|
dir.deleteQueue = append(dir.deleteQueue, trashPath)
|
||||||
dir.mu.Unlock()
|
dir.mu.Unlock()
|
||||||
|
mon.Event("delete_deferred_to_queue")
|
||||||
}
|
}
|
||||||
|
|
||||||
// ignore is-busy errors, they are still in the queue but no need to notify
|
// ignore is-busy errors, they are still in the queue but no need to notify
|
||||||
|
Loading…
Reference in New Issue
Block a user