DanielLeens opened a new pull request, #13471:
URL: https://github.com/apache/seatunnel/pull/13471

   ### Purpose of this pull request
   
   Yes, I am contributing to Apache SeaTunnel.
   
   Part of #13355. Periodic fixed-slot heartbeats currently serialize a full 
slot object for every assigned and free slot, repeating the worker address and 
other serialization data. Encode the complete fixed-slot snapshot with 
primitive slot fields, a shared worker address, and a shared default sequence. 
The master receives the exact slot ID, owner, assignment state, resources, and 
per-allocation sequence, along with worker attributes and system load.
   
   ### Does this PR introduce any user-facing change?
   
   Fixed-slot heartbeats have a smaller payload. The compact operation uses a 
new internal serializer ID. Upgrade or roll back all Zeta masters and workers 
together because older masters cannot decode it. The existing operation still 
decodes legacy and dynamic-slot heartbeats. Job and checkpoint formats are 
unchanged. See the dev upgrade note.
   
   ### How was this patch tested?
   
   - Scoped `spotless:apply`, `spotless:check`, and `git diff --check` passed.
   - Added a Hazelcast serialization test for a half-full 1,024-slot pool with 
per-grant UUIDs, worker load and owner preservation. Also covered legacy 
dynamic encoding and rejection of a truncated payload.
   - Extended `SeaTunnelSlotIT` to verify a separate master receives the 
allocation and release state from the worker's periodic heartbeats in a 
512-slot cluster.
   - Compilation and runtime results for this Apache head are pending GitHub 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