Snapshot delete tasks do not complete if blobs-to-delete list exceeds 2GiB #116379
Labels
>bug
:Distributed Coordination/Snapshot/Restore
Anything directly related to the `_snapshot/*` APIs
Team:Distributed Coordination
Meta label for Distributed Coordination team
When deleting snapshots, we accumulate a collection of blobs for post-commit deletion in a compressed
ReleasableBytesStreamOutput
, which has a size limit of 2GiB. If we reach this limit then the following message is logged:If that happens then it looks like
org.elasticsearch.repositories.blobstore.BlobStoreRepository#resolveFilesToDelete
will also throw an exception, and it does so in contexts where such an exception will bubble up the stack without completing the relevant listener:We must avoid leaking this listener on such an exception.
The text was updated successfully, but these errors were encountered: