You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ji...@apache.org on 2020/12/04 07:17:04 UTC

[iotdb] branch cluster_divide_condition created (now 6b3071e)

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

jiangtian pushed a change to branch cluster_divide_condition
in repository https://gitbox.apache.org/repos/asf/iotdb.git.


      at 6b3071e  set default to use thrift compression

This branch includes the following new commits:

     new 6b3071e  set default to use thrift compression

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.



[iotdb] 01/01: set default to use thrift compression

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

jiangtian pushed a commit to branch cluster_divide_condition
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 6b3071e25b5dd69cba9ee22174467c5fbdd945ed
Author: jt <jt...@163.com>
AuthorDate: Fri Dec 4 15:15:40 2020 +0800

    set default to use thrift compression
---
 service-rpc/src/main/java/org/apache/iotdb/rpc/RpcTransportFactory.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/service-rpc/src/main/java/org/apache/iotdb/rpc/RpcTransportFactory.java b/service-rpc/src/main/java/org/apache/iotdb/rpc/RpcTransportFactory.java
index 9121f48..f2234a1 100644
--- a/service-rpc/src/main/java/org/apache/iotdb/rpc/RpcTransportFactory.java
+++ b/service-rpc/src/main/java/org/apache/iotdb/rpc/RpcTransportFactory.java
@@ -27,7 +27,7 @@ import org.apache.thrift.transport.TTransportFactory;
 public class RpcTransportFactory extends TTransportFactory {
 
   // TODO: make it a config
-  public static final boolean USE_SNAPPY = false;
+  public static final boolean USE_SNAPPY = true;
   public static final RpcTransportFactory INSTANCE;
   static {
     INSTANCE = USE_SNAPPY ?