Pengzna commented on code in PR #16886:
URL: https://github.com/apache/iotdb/pull/16886#discussion_r2757956543
##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/DataRegion.java:
##########
@@ -1160,6 +1171,12 @@ public void insert(InsertRowNode insertRowNode) throws
WriteProcessException {
if (deleted) {
return;
}
+ long arrivalTime = System.currentTimeMillis();
+ long generationTime = insertRowNode.getTime();
+ if (delayAnalyzer != null) {
+ delayAnalyzer.update(generationTime, arrivalTime);
+ }
Review Comment:
good catch, fixed
--
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]