VGalaxies commented on code in PR #12344: URL: https://github.com/apache/iotdb/pull/12344#discussion_r1570235803
########## iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/connector/PipeReceiverStatusHandler.java: ########## @@ -133,12 +133,14 @@ public void handle(TSStatus status, String exceptionMessage, String recordMessag LOGGER.warn( "User conflict exception: will retry {}. status: {}", - (retryMaxMillisWhenConflictOccurs == Long.MAX_VALUE ? "forever" : "for at least ") - + (retryMaxMillisWhenConflictOccurs - + exceptionFirstEncounteredTime.get() - - System.currentTimeMillis()) - / 1000.0 - + " seconds", + retryMaxMillisWhenConflictOccurs == Long.MAX_VALUE Review Comment: The previous approach would result in appending "xxx seconds" after "forever". -- 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-unsubscr...@iotdb.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org