stream2000 commented on PR #7826:
URL: https://github.com/apache/hudi/pull/7826#issuecomment-1538000227

   > I think you can determine the reason why the heartbeat file does not exist 
in `isHeartbeatExpired`, If the heartbeat file does not exist, determine 
whether the current instant has been completed.
   
   @nsivabalan What do you think? We can also solve the problem by adding an 
extra step at `HoodieHeartbeatUtils#isHeartbeatExpired`.  When we find that the 
heartbeat file is missing, also check whether the completed commit file is 
present so that the instants what `HoodieHeartbeatUtils#isHeartbeatExpired` 
returned are indeed expired instants. 


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