eemario commented on PR #30127:
URL: https://github.com/apache/flink/pull/30127#issuecomment-7187104742

   Thanks for working on this! The recovery gap is real, and creating an 
ApplicationResult from the remaining JobResult seems like a reasonable 
direction.
   
   One concern is the case where failover happens after the job archive and 
dirty JobResult have been written, but before the application summary has been 
archived. This recovery path creates the ApplicationResult and proceeds with 
cleanup, but does not appear to write the missing application summary. Since 
the HistoryServer relies on that summary to discover the application and its 
jobs, the existing job archive would remain unavailable through the 
HistoryServer even after recovery completes.
   
   Do you think we should also ensure the missing application summary is 
archived before completing cleanup? We would need to handle both cases: the 
summary is missing, or it was already written before failover. What do you 
think?


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