You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by lt...@apache.org on 2020/02/14 03:11:06 UTC

[incubator-iotdb] branch add_compression_ratio_more_log updated (a05c5f6 -> f5464dd)

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

lta pushed a change to branch add_compression_ratio_more_log
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git.


 discard a05c5f6  update
     new f5464dd  add more log

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (a05c5f6)
            \
             N -- N -- N   refs/heads/add_compression_ratio_more_log (f5464dd)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../java/org/apache/iotdb/db/engine/storagegroup/TsFileProcessor.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


[incubator-iotdb] 01/01: add more log

Posted by lt...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

lta pushed a commit to branch add_compression_ratio_more_log
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git

commit f5464ddffde59bc27220766e7c8efe9ed020eb7f
Author: lta <li...@163.com>
AuthorDate: Fri Feb 14 10:49:18 2020 +0800

    add more log
---
 .../org/apache/iotdb/db/engine/storagegroup/TsFileProcessor.java    | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/TsFileProcessor.java b/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/TsFileProcessor.java
index 83b1b81..d7643e3 100644
--- a/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/TsFileProcessor.java
+++ b/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/TsFileProcessor.java
@@ -472,11 +472,13 @@ public class TsFileProcessor {
         writer.mark();
         try {
           double compressionRatio = ((double) totalMemTableSize) / writer.getPos();
-          logger.debug("totalMemTableSize: {}, the file size: {}", totalMemTableSize,
+          logger.debug(
+              "The compression ratio of tsfile {} is {}, totalMemTableSize: {}, the file size: {}",
+              writer.getFile().getAbsolutePath(), compressionRatio, totalMemTableSize,
               writer.getPos());
           if (compressionRatio == 0) {
             logger.error(
-                "The compression ratio of tsfile {} is 0, totalMemTableSize: {}, the file size: {}, please check the log.",
+                "The compression ratio of tsfile {} is 0, totalMemTableSize: {}, the file size: {}",
                 writer.getFile().getAbsolutePath(), totalMemTableSize, writer.getPos());
           }
           CompressionRatio.getInstance().updateRatio(compressionRatio);