Relax WriteMultipart
API to support aborting after completion
#5977
Labels
enhancement
Any new improvement worthy of a entry in the changelog
object-store
Object Store Interface
In the current implementation
finish
will consume our writer and in case of an error during the finish call we wound be able to abort our write.I suggest changing the following:
to something like this:
To be able to call the abort method after that
We potentially can safeguard ourselves from multiple finish calls by adding an
is_finished
flag to the writerThe text was updated successfully, but these errors were encountered: