apache / opendal

Apache OpenDAL: access data freely.
https://opendal.apache.org
Apache License 2.0
3.27k stars 455 forks source link

fix(services/monoiofs): handle async cancel during file open #5094

Closed NKID00 closed 3 weeks ago

NKID00 commented 3 weeks ago

Rationale for this change

Async cancellation during file open is not handled in monoiofs that worker thread tries to send result back even if main task cancelled.

What changes are included in this PR?

Exit worker task if main task cancelled, instead of panic.

Are there any user-facing changes?

None.