Skip to content

Commit

Permalink
Pipe: degrade progress index rebind log (#13821)
Browse files Browse the repository at this point in the history
  • Loading branch information
VGalaxies authored Oct 18, 2024
1 parent 82a77b6 commit 2b8d6c6
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,13 @@ private void bindOrUpdateProgressIndexForTsFileInsertionEvent(
.isProgressIndexAfterOrEquals(
dataRegionId, event.getTimePartitionId(), event.getProgressIndex())) {
event.bindProgressIndex(maxProgressIndexForTsFileInsertionEvent.get());
LOGGER.info(
"Data region {} bind {} to event {} because it was flushed prematurely.",
dataRegionId,
maxProgressIndexForTsFileInsertionEvent,
event.coreReportMessage());
if (LOGGER.isDebugEnabled()) {
LOGGER.debug(
"Data region {} bind {} to event {} because it was flushed prematurely.",
dataRegionId,
maxProgressIndexForTsFileInsertionEvent,
event.coreReportMessage());
}
} else {
maxProgressIndexForTsFileInsertionEvent.updateAndGet(
index -> index.updateToMinimumEqualOrIsAfterProgressIndex(event.getProgressIndex()));
Expand Down

0 comments on commit 2b8d6c6

Please sign in to comment.