Skip to content

Commit 6b0354f

Browse files
authored
Suppress pull commit progress log when subscription is disabled (#18564)
1 parent 05a97b9 commit 6b0354f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/client/async/handlers/rpc/subscription/PullCommitProgressRPCHandler.java‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ public void onComplete(TPullCommitProgressResp response) {
5454
if (response.getStatus().getCode() == TSStatusCode.SUCCESS_STATUS.getStatusCode()) {
5555
LOGGER.info(
5656
ConfigNodeMessages.SUCCESSFULLY_ON_DATANODE, requestType, formattedTargetLocation);
57-
} else {
57+
} else if (response.getStatus().getCode()
58+
!= TSStatusCode.UNSUPPORTED_OPERATION.getStatusCode()) {
5859
LOGGER.error(
5960
ConfigNodeMessages.FAILED_TO_ON_DATANODE_RESPONSE,
6061
requestType,

0 commit comments

Comments
 (0)