SteveYurongSu commented on code in PR #12486:
URL: https://github.com/apache/iotdb/pull/12486#discussion_r1598345492
##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/connector/protocol/thrift/sync/IoTDBDataRegionSyncConnector.java:
##########
@@ -182,12 +190,16 @@ private void doTransfer() {
receiverStatusHandler.handle(
resp.getStatus(),
String.format("Transfer PipeTransferTabletBatchReq error, result
status %s", resp.status),
- tabletBatchBuilder.deepCopyEvents().toString());
+ batchToTransfer.deepCopyEvents().toString());
}
- tabletBatchBuilder.decreaseEventsReferenceCount(
+ batchToTransfer.decreaseEventsReferenceCount(
IoTDBDataRegionSyncConnector.class.getName(), true);
- tabletBatchBuilder.onSuccess();
+ batchToTransfer.onSuccess();
Review Comment:
Update leader cache
--
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]