dpol1 opened a new pull request, #8788:
URL: https://github.com/apache/storm/pull/8788

   ## What is the purpose of the change
   Fixes the Y2038 heartbeat overflow issue. Worker heartbeat timestamps 
(`time_secs`) were carried as `i32` seconds, which would overflow on 
2038-01-19. This change migrates the timestamps to 64-bit values (`i64`) to 
prevent false timeouts and cluster failures post-2038. It also establishes the 
expected bounce-upgrade semantics for legacy heartbeats.
   
   ## How was the change tested
   - Added `Y2038HeartbeatTest` to ensure that 64-bit timestamps round-trip 
correctly through Thrift serialization.
   - Verified that `HeartbeatCache` successfully parses and handles post-2038 
heartbeats without flagging them as timed out.
   - Tested schema backward-compatibility to ensure legacy `i32` payloads fail 
validation gracefully during the bounce-upgrade window.
   
   - Fixes #7897 


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