Xuanwo commented on PR #8750:
URL: https://github.com/apache/opendal/pull/8750#issuecomment-7087337534

   *(AI-generated maintenance note)*
   
   Independent review caught a real-world regression against `GcsComposer` 
(currently the only `Service::compose` implementation on `main`):
   
   - `GcsBackend::compose()` performs no network I/O, intermediate compose 
tasks already retry temporary errors internally using `opendal-compose-token` + 
`ifGenerationMatch=0` reconciliation, and `GcsComposer::close()` sets `errored 
= true` after draining `buffered`/`tasks`.
   - Wrapping `oio::Compose::close()` in `RetryWrapper` turns a temporary 
`429`/`5xx` from `compose_final` into a permanent `Unexpected("GCS composer has 
already failed and can't be closed")` after backoff, clobbering the original 
`RateLimited` (or other temporary) error.
   - `compose_final` also lacks server-side idempotency reconciliation for 
ambiguous post-commit failures.
   
   Closing this PR rather than introducing that regression. Retrying 
`Operation::Compose` at the layer level requires designing and real-GCS-testing 
reentrant/idempotent `oio::Compose` semantics first.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to