storage/filestore: monkit event for delete queuing (#3507)

This commit is contained in:
paul cannon 2019-11-12 14:56:57 -06:00 committed by Yingrong Zhao
parent 2f19b0a80e
commit 0d0b5a449b

View File

@ -320,6 +320,7 @@ func (dir *Dir) DeleteWithStorageFormat(ctx context.Context, ref storage.BlobRef
dir.mu.Lock()
dir.deleteQueue = append(dir.deleteQueue, trashPath)
dir.mu.Unlock()
mon.Event("delete_deferred_to_queue")
}
// ignore is-busy errors, they are still in the queue but no need to notify