You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by qi...@apache.org on 2022/10/17 00:51:29 UTC

[iotdb] branch rel/0.13 updated: Fix time unit in the ttl log (#7627)

This is an automated email from the ASF dual-hosted git repository.

qiaojialin pushed a commit to branch rel/0.13
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/rel/0.13 by this push:
     new b3b96bd3fb Fix time unit in the ttl log (#7627)
b3b96bd3fb is described below

commit b3b96bd3fb6129809c0f3c22946e2523e5488634
Author: Alan Choo <43...@users.noreply.github.com>
AuthorDate: Mon Oct 17 08:51:23 2022 +0800

    Fix time unit in the ttl log (#7627)
---
 .../iotdb/db/engine/storagegroup/VirtualStorageGroupProcessor.java   | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/VirtualStorageGroupProcessor.java b/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/VirtualStorageGroupProcessor.java
index 2ac261ef72..3f1dd935ff 100755
--- a/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/VirtualStorageGroupProcessor.java
+++ b/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/VirtualStorageGroupProcessor.java
@@ -1519,10 +1519,11 @@ public class VirtualStorageGroupProcessor {
         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();
       }