You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by "choubenson (via GitHub)" <gi...@apache.org> on 2023/04/03 07:50:58 UTC
[GitHub] [iotdb] choubenson opened a new pull request, #9503: [IOTDB-5691] The first level-0 tsfile too large to trigger "Unsequence InnerSpaceComapction" and "CrossSpaceCompaction"
choubenson opened a new pull request, #9503:
URL: https://github.com/apache/iotdb/pull/9503
The first unseq file is 0 level and it is too large to trigger unseq inner space compaction and cross space compaction.
--
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: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [iotdb] xingtanzjr merged pull request #9503: [IOTDB-5691] The first level-0 tsfile too large to trigger "Unsequence InnerSpaceComapction" and "CrossSpaceCompaction"
Posted by "xingtanzjr (via GitHub)" <gi...@apache.org>.
xingtanzjr merged PR #9503:
URL: https://github.com/apache/iotdb/pull/9503
--
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: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [iotdb] choubenson commented on a diff in pull request #9503: [IOTDB-5691] The first level-0 tsfile too large to trigger "Unsequence InnerSpaceComapction" and "CrossSpaceCompaction"
Posted by "choubenson (via GitHub)" <gi...@apache.org>.
choubenson commented on code in PR #9503:
URL: https://github.com/apache/iotdb/pull/9503#discussion_r1165084248
##########
server/src/main/java/org/apache/iotdb/db/engine/compaction/selector/impl/RewriteCrossSpaceCompactionSelector.java:
##########
@@ -185,7 +185,8 @@ private boolean canAddToTaskResource(
// we add a hard limit for cross compaction that selected unseqFile should be compacted in inner
// space at least once. This is used to make to improve the priority of inner compaction and
// avoid too much cross compaction with small files.
- if (unseqFileName.getInnerCompactionCnt() < config.getMinCrossCompactionUnseqFileLevel()) {
+ if (unseqFileName.getInnerCompactionCnt() < config.getMinCrossCompactionUnseqFileLevel()
Review Comment:
Resolved.
--
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: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [iotdb] xingtanzjr commented on a diff in pull request #9503: [IOTDB-5691] The first level-0 tsfile too large to trigger "Unsequence InnerSpaceComapction" and "CrossSpaceCompaction"
Posted by "xingtanzjr (via GitHub)" <gi...@apache.org>.
xingtanzjr commented on code in PR #9503:
URL: https://github.com/apache/iotdb/pull/9503#discussion_r1165049049
##########
server/src/main/java/org/apache/iotdb/db/engine/compaction/selector/impl/RewriteCrossSpaceCompactionSelector.java:
##########
@@ -185,7 +185,8 @@ private boolean canAddToTaskResource(
// we add a hard limit for cross compaction that selected unseqFile should be compacted in inner
// space at least once. This is used to make to improve the priority of inner compaction and
// avoid too much cross compaction with small files.
- if (unseqFileName.getInnerCompactionCnt() < config.getMinCrossCompactionUnseqFileLevel()) {
+ if (unseqFileName.getInnerCompactionCnt() < config.getMinCrossCompactionUnseqFileLevel()
Review Comment:
Suggest to add more comments here. Current comment is not aligned with the new implementation here
--
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: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org