tsreaper opened a new pull request, #360:
URL: https://github.com/apache/flink-table-store/pull/360

   (Cherry-picked from #350)
   
   Table Store sink continuously fails with "Trying to add file which is 
already added" when snapshot committing is slow.
   
   This is due to a bug in `FileStoreCommitImpl#filterCommitted`. When this 
method finds an identifier, it removes the identifier from a map. However 
different snapshots may have the same identifier (for example an APPEND commit 
and the following COMPACT commit will have the same identifier), so we need to 
use another set to check for identifiers.
   
   When snapshot committing is fast there is at most 1 identifier to check 
after the job restarts, so nothing happens. However when snapshot committing is 
slow, there will be multiple identifiers to check and some identifiers will be 
mistakenly kept.


-- 
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...@flink.apache.org

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

Reply via email to