The GitHub Actions job "Build and Run Tests by Bazel" on 
rocketmq.git/fix/change-invisible-reregister-handle has succeeded.
Run started by GitHub user Aias00 (triggered by Aias00).

Head commit for run:
9c3fe97e4187136b89133152b66f3cd2d2f8a250 / liuhy <[email protected]>
Restore managed receipt handle on changeInvisibleDuration failure/exception

ChangeInvisibleDurationActivity removes the managed handle before the async 
broker call and re-registers it only on AckStatus.OK. When the broker returns a 
non-OK status or the future completes exceptionally, the old handle was dropped 
from the receipt handle manager, so later renew/ack could no longer find it.

Re-add the unmodified old handle on both the non-OK path (in 
convertToChangeInvisibleDurationResponse) and the exception path (via 
whenComplete), mirroring the OK-path re-registration. Handles that were not 
managed to begin with (removeReceiptHandle returned null) are left untouched.

Co-Authored-By: Claude <[email protected]>

Report URL: https://github.com/apache/rocketmq/actions/runs/29093319808

With regards,
GitHub Actions via GitBox

Reply via email to