wwj6591812 commented on PR #4546:
URL: https://github.com/apache/paimon/pull/4546#issuecomment-2484800556

   > > I think the second call to RollingFileWriter#abort is in 
RollingFileWriter#write's catch statement. But where was the first call to 
RollingFileWriter#abort?
   > 
   > I mean RollingFileWriter will call currentWriter#abort when `#write` has 
exception, then it will call currentWriter#abort again.
   
   OK, Thinks.
   The first time is in RollingFileWriter#write -> SingleFileWriter#write -> 
SingleFileWriter#writeImpl -> SingleFileWriter#abort.
   The second time is in RollingFileWriter#write -> RollingFileWriter#abort -> 
SingleFileWriter#abort.
   


-- 
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: issues-unsubscr...@paimon.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to