jt2594838 commented on code in PR #18465:
URL: https://github.com/apache/iotdb/pull/18465#discussion_r3840341032
##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/protocol/thrift/impl/DataNodeInternalRPCServiceImpl.java:
##########
@@ -1627,6 +1627,11 @@ public TPushConsumerGroupMetaResp
pushSingleConsumerGroupMeta(
@Override
public TPullCommitProgressResp pullCommitProgress(TPullCommitProgressReq
req) {
+ if (!SubscriptionConfig.getInstance().getSubscriptionEnabled()) {
+ return new TPullCommitProgressResp(new
TSStatus(TSStatusCode.SUCCESS_STATUS.getStatusCode()))
+ .setCommitRegionProgress(Collections.emptyMap());
Review Comment:
May use UNSUPPORTED_OPERATION, the same below.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]