You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2022/11/07 09:39:42 UTC

[GitHub] [flink-table-store] tsreaper opened a new pull request, #356: [FLINK-29916] Fix bug that Levels in Table Store may mistakenly ignore level 0 files when two files have the same sequence number

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

   Current constructor of `Levels` class contains the following code:
   
   ```java
   this.level0 = new TreeSet<>(Comparator.comparing(DataFileMeta::maxSequenceNumber).reversed());
   ```
   
   However when two or more jobs writing the same bucket, they may produce files containing the same sequence number. If two files have the same `maxSequenceNumber`, one of them will be mistakenly ignored by `TreeSet`.


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

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


[GitHub] [flink-table-store] tsreaper merged pull request #356: [FLINK-29916] Fix bug that Levels in Table Store may mistakenly ignore level 0 files when two files have the same sequence number

Posted by GitBox <gi...@apache.org>.
tsreaper merged PR #356:
URL: https://github.com/apache/flink-table-store/pull/356


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

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