This is an automated email from the ASF dual-hosted git repository.
qiaojialin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new c1c8fbaa77 Fix time unit in the ttl log (#7628)
c1c8fbaa77 is described below
commit c1c8fbaa77699522cb85f2867135cc03a5ee2b28
Author: Alan Choo <[email protected]>
AuthorDate: Mon Oct 17 08:51:17 2022 +0800
Fix time unit in the ttl log (#7628)
---
.../java/org/apache/iotdb/db/engine/storagegroup/DataRegion.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git
a/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/DataRegion.java
b/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/DataRegion.java
index 0df5037bbf..7c786233b5 100755
---
a/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/DataRegion.java
+++
b/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/DataRegion.java
@@ -1778,10 +1778,11 @@ public class DataRegion {
resource.remove();
tsFileManager.remove(resource, isSeq);
logger.info(
- "Removed a file {} before {} by ttl ({}ms)",
+ "Removed a file {} before {} by ttl ({} {})",
resource.getTsFilePath(),
new Date(ttlLowerBound),
- dataTTL);
+ dataTTL,
+ config.getTimestampPrecision());
} finally {
resource.writeUnlock();
}