OneSizeFitsQuorum commented on code in PR #12723:
URL: https://github.com/apache/iotdb/pull/12723#discussion_r1637832859
##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/connector/protocol/pipeconsensus/handler/PipeConsensusTsFileInsertionEventHandler.java:
##########
@@ -245,6 +260,8 @@ public void onComplete(final TPipeConsensusTransferResp
response) {
.handle(status, response.getStatus().getMessage(),
tsFile.getName());
}
}
+ long duration = System.nanoTime() - startTransferPieceTime;
+ metric.recordConnectorTsFilePieceTransferTimer(duration);
Review Comment:
then the time will be increasing?
maybe we only need recording one tsfile once
--
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]