inverteum commented on PR #13381:
URL: https://github.com/apache/seatunnel/pull/13381#issuecomment-7062097690

   Hi Daniel, we pushed a follow-up that covers the three items from your 
review:
   
   1. Lease release is now ownership-fenced. `tryReserve` returns an immutable 
token plus the member generation, and release only removes the map entry when 
that same token and generation still own the key, so a late callback from an 
expired request cannot clear a replacement lease. There is a deterministic 
A-expire / B-reserve / A-release unit test with no wall-clock sleep.
   
   2. We added a `FixSlotResourceTest` case that uses the real fixed-slot 
engine with concurrent `applyResources` calls, plus handler coverage for 
worker-side lowest-id allocation, out-of-order completion, and member-removal 
lease cleanup. Those paths assert successful distinct assignments and no 
retained leases after failure or membership removal.
   
   3. The `FixedSlotReservations` javadoc now describes token ownership, the 
synchronization boundary, expiry, member removal, which callbacks may release a 
lease, and that the two-minute TTL matches Hazelcast's default call timeout 
rather than being an invariant for customized clusters.
   
   The follow-up is a new commit on 
[d80681d](https://github.com/apache/seatunnel/pull/13381/commits/d80681d09d7916318bf5bbff415ccf97b70e51d4),
 on top of 378f61f1. We did not change the wire or WorkerProfile format. The 
fork Build workflow may still need a maintainer to trigger it for head CI.
   


-- 
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