[GitHub] [iotdb] sonarcloud[bot] commented on pull request #1914: [IOTDB-937] change jdbc into session and don't need to create metadata

2020-11-03 Thread GitBox


sonarcloud[bot] commented on pull request #1914:
URL: https://github.com/apache/iotdb/pull/1914#issuecomment-721564636


   Kudos, SonarCloud Quality Gate passed!
   
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=SECURITY_HOTSPOT)
 [0 Security Hotspots](https://sonarcloud.io/project/i
 
ssues?id=apache_incubator-iotdb=1914=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=CODE_SMELL)
 [9 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1914)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1914=new_duplicated_lines_density=list)
 [1.1% 
Duplication](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1914=new_duplicated_lines_density=list)
   
The version of Java (1.8.0_252) you 
have used to run this analysis is deprecated and we will stop accepting it 
accepting it soon.Please update to at least Java 11.
   Read more [here](https://sonarcloud.io/documentation/upcoming/)
   
   
   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] sonarcloud[bot] removed a comment on pull request #1914: [IOTDB-937] change jdbc into session and don't need to create metadata

2020-11-03 Thread GitBox


sonarcloud[bot] removed a comment on pull request #1914:
URL: https://github.com/apache/iotdb/pull/1914#issuecomment-721537919


   Kudos, SonarCloud Quality Gate passed!
   
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=SECURITY_HOTSPOT)
 [0 Security Hotspots](https://sonarcloud.io/project/i
 
ssues?id=apache_incubator-iotdb=1914=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=CODE_SMELL)
 [13 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1914)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1914=new_duplicated_lines_density=list)
 [1.1% 
Duplication](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1914=new_duplicated_lines_density=list)
   
The version of Java (1.8.0_252) you 
have used to run this analysis is deprecated and we will stop accepting it 
accepting it soon.Please update to at least Java 11.
   Read more [here](https://sonarcloud.io/documentation/upcoming/)
   
   
   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] wc188996 commented on issue #748: Welcome to leave your company's info if your company are using/testing IoTDB(欢迎使用/测试IoTDB的公司在此登记)

2020-11-03 Thread GitBox


wc188996 commented on issue #748:
URL: https://github.com/apache/iotdb/issues/748#issuecomment-721555249


   太极计算机股份有限公司 企业BG 基础能源SBU 准备 测试性能



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] sonarcloud[bot] commented on pull request #1941: [To rel/0.11] Check unclosed old files before upgrading to 0.11

2020-11-03 Thread GitBox


sonarcloud[bot] commented on pull request #1941:
URL: https://github.com/apache/iotdb/pull/1941#issuecomment-721541225


   Kudos, SonarCloud Quality Gate passed!
   
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1941=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1941=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1941=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1941=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1941=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1941=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1941=false=SECURITY_HOTSPOT)
 [0 Security Hotspots](https://sonarcloud.io/project/i
 
ssues?id=apache_incubator-iotdb=1941=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1941=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1941=false=CODE_SMELL)
 [1 Code 
Smell](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1941=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1941)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1941=new_duplicated_lines_density=list)
 [0.0% 
Duplication](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1941=new_duplicated_lines_density=list)
   
The version of Java (1.8.0_252) you 
have used to run this analysis is deprecated and we will stop accepting it 
accepting it soon.Please update to at least Java 11.
   Read more [here](https://sonarcloud.io/documentation/upcoming/)
   
   
   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] sonarcloud[bot] removed a comment on pull request #1914: [IOTDB-937] change jdbc into session and don't need to create metadata

2020-11-03 Thread GitBox


sonarcloud[bot] removed a comment on pull request #1914:
URL: https://github.com/apache/iotdb/pull/1914#issuecomment-721501653


   Kudos, SonarCloud Quality Gate passed!
   
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=SECURITY_HOTSPOT)
 [2 Security Hotspots](https://sonarcloud.io/project/i
 
ssues?id=apache_incubator-iotdb=1914=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=CODE_SMELL)
 [16 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1914)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1914=new_duplicated_lines_density=list)
 [1.2% 
Duplication](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1914=new_duplicated_lines_density=list)
   
The version of Java (1.8.0_252) you 
have used to run this analysis is deprecated and we will stop accepting it 
accepting it soon.Please update to at least Java 11.
   Read more [here](https://sonarcloud.io/documentation/upcoming/)
   
   
   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] sonarcloud[bot] commented on pull request #1914: [IOTDB-937] change jdbc into session and don't need to create metadata

2020-11-03 Thread GitBox


sonarcloud[bot] commented on pull request #1914:
URL: https://github.com/apache/iotdb/pull/1914#issuecomment-721537919


   Kudos, SonarCloud Quality Gate passed!
   
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=SECURITY_HOTSPOT)
 [0 Security Hotspots](https://sonarcloud.io/project/i
 
ssues?id=apache_incubator-iotdb=1914=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=CODE_SMELL)
 [13 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1914)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1914=new_duplicated_lines_density=list)
 [1.1% 
Duplication](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1914=new_duplicated_lines_density=list)
   
The version of Java (1.8.0_252) you 
have used to run this analysis is deprecated and we will stop accepting it 
accepting it soon.Please update to at least Java 11.
   Read more [here](https://sonarcloud.io/documentation/upcoming/)
   
   
   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] sonarcloud[bot] commented on pull request #1940: Check unclosed old files before upgrading to 0.11

2020-11-03 Thread GitBox


sonarcloud[bot] commented on pull request #1940:
URL: https://github.com/apache/iotdb/pull/1940#issuecomment-721537475


   Kudos, SonarCloud Quality Gate passed!
   
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1940=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1940=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1940=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1940=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1940=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1940=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1940=false=SECURITY_HOTSPOT)
 [0 Security Hotspots](https://sonarcloud.io/project/i
 
ssues?id=apache_incubator-iotdb=1940=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1940=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1940=false=CODE_SMELL)
 [1 Code 
Smell](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1940=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1940)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1940=new_duplicated_lines_density=list)
 [0.0% 
Duplication](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1940=new_duplicated_lines_density=list)
   
The version of Java (1.8.0_252) you 
have used to run this analysis is deprecated and we will stop accepting it 
accepting it soon.Please update to at least Java 11.
   Read more [here](https://sonarcloud.io/documentation/upcoming/)
   
   
   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] HTHou opened a new pull request #1941: [To rel/0.11] Check unclosed old files before upgrading to 0.11

2020-11-03 Thread GitBox


HTHou opened a new pull request #1941:
URL: https://github.com/apache/iotdb/pull/1941


   1. When upgrading v0.10 to v0.11, if there are some unclosed TsFiles 
existed, shutdown the IoTDB instance and tell users to close those TsFiles 
first.
   
   2. If users are upgrading IoTDB from v0.9 or lower version to v0.11, 
shutdown the IoTDB instance too and tell them to upgrade v0.10 before upgrading 
v0.11.
   
   3. Upgrade system.properties if needed.



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] HTHou opened a new pull request #1940: Check unclosed old files before upgrading to 0.11

2020-11-03 Thread GitBox


HTHou opened a new pull request #1940:
URL: https://github.com/apache/iotdb/pull/1940


   1. When upgrading v0.10 to v0.11, if there are some unclosed TsFiles 
existed, shutdown the IoTDB instance and tell users to close those TsFiles 
first. 
   
   2. If users are upgrading IoTDB from v0.9 or lower version to v0.11, 
shutdown the IoTDB instance too and tell them to upgrade v0.10 before upgrading 
v0.11. 



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] sonarcloud[bot] commented on pull request #1914: [IOTDB-937] change jdbc into session and don't need to create metadata

2020-11-03 Thread GitBox


sonarcloud[bot] commented on pull request #1914:
URL: https://github.com/apache/iotdb/pull/1914#issuecomment-721501653


   Kudos, SonarCloud Quality Gate passed!
   
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=SECURITY_HOTSPOT)
 [2 Security Hotspots](https://sonarcloud.io/project/i
 
ssues?id=apache_incubator-iotdb=1914=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=CODE_SMELL)
 [16 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1914)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1914=new_duplicated_lines_density=list)
 [1.2% 
Duplication](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1914=new_duplicated_lines_density=list)
   
The version of Java (1.8.0_252) you 
have used to run this analysis is deprecated and we will stop accepting it 
accepting it soon.Please update to at least Java 11.
   Read more [here](https://sonarcloud.io/documentation/upcoming/)
   
   
   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] sonarcloud[bot] removed a comment on pull request #1914: [IOTDB-937] change jdbc into session and don't need to create metadata

2020-11-03 Thread GitBox


sonarcloud[bot] removed a comment on pull request #1914:
URL: https://github.com/apache/iotdb/pull/1914#issuecomment-720321254


   Kudos, SonarCloud Quality Gate passed!
   
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=SECURITY_HOTSPOT)
 [2 Security Hotspots](https://sonarcloud.io/project/i
 
ssues?id=apache_incubator-iotdb=1914=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=CODE_SMELL)
 [15 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1914)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1914=new_duplicated_lines_density=list)
 [1.2% 
Duplication](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1914=new_duplicated_lines_density=list)
   
The version of Java (1.8.0_252) you 
have used to run this analysis is deprecated and we will stop accepting it 
accepting it soon.Please update to at least Java 11.
   Read more [here](https://sonarcloud.io/documentation/upcoming/)
   
   
   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] qiaojialin merged pull request #1929: Fix tsfile resource upgrade error [0.10 - 0.11]

2020-11-03 Thread GitBox


qiaojialin merged pull request #1929:
URL: https://github.com/apache/iotdb/pull/1929


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] qiaojialin merged pull request #1939: refactor the packaging structure of Python API module on Pypi

2020-11-03 Thread GitBox


qiaojialin merged pull request #1939:
URL: https://github.com/apache/iotdb/pull/1939


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] jixuan1989 opened a new pull request #1939: refactor the packaging structure of Python API module on Pypi

2020-11-03 Thread GitBox


jixuan1989 opened a new pull request #1939:
URL: https://github.com/apache/iotdb/pull/1939


   v0.10.* did not pack session.py to Pypi.
   
   To make everything automatically, I refactor the project structure:
   
   1. move pypi description files to `client-py` module;
   2. use maven to copy all generated files to `client-py/target/pypi`
   
   Then we just need to run `python setup.py sdist bdist_wheel` and `twine 
upload --repository pypi dist/*` manually.



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] jixuan1989 merged pull request #1938: Python session time zone example

2020-11-03 Thread GitBox


jixuan1989 merged pull request #1938:
URL: https://github.com/apache/iotdb/pull/1938


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] SilverNarcissus opened a new pull request #1938: Python session time zone example

2020-11-03 Thread GitBox


SilverNarcissus opened a new pull request #1938:
URL: https://github.com/apache/iotdb/pull/1938


   add an example in sessionExample.py



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] jixuan1989 merged pull request #1937: Fix time zone in python session

2020-11-03 Thread GitBox


jixuan1989 merged pull request #1937:
URL: https://github.com/apache/iotdb/pull/1937


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] SilverNarcissus opened a new pull request #1937: Fix time zone in python session

2020-11-03 Thread GitBox


SilverNarcissus opened a new pull request #1937:
URL: https://github.com/apache/iotdb/pull/1937


   Fix time zone in python session



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] qiaojialin merged pull request #1930: remove hot compaction read limiter

2020-11-03 Thread GitBox


qiaojialin merged pull request #1930:
URL: https://github.com/apache/iotdb/pull/1930


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] HTHou merged pull request #1935: [IOTDB-868] Can not redo mlogs with special characters like comma

2020-11-03 Thread GitBox


HTHou merged pull request #1935:
URL: https://github.com/apache/iotdb/pull/1935


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] qiaojialin merged pull request #1936: add release note 0.11

2020-11-03 Thread GitBox


qiaojialin merged pull request #1936:
URL: https://github.com/apache/iotdb/pull/1936


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] qiaojialin opened a new pull request #1936: add release note 0.11

2020-11-03 Thread GitBox


qiaojialin opened a new pull request #1936:
URL: https://github.com/apache/iotdb/pull/1936


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] JackieTien97 opened a new pull request #1935: [IOTDB-868] Can not redo mlogs with special characters like comma

2020-11-03 Thread GitBox


JackieTien97 opened a new pull request #1935:
URL: https://github.com/apache/iotdb/pull/1935


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] qiaojialin closed pull request #1864: [dev] add merge datatype error log

2020-11-03 Thread GitBox


qiaojialin closed pull request #1864:
URL: https://github.com/apache/iotdb/pull/1864


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] qiaojialin commented on pull request #1841: change tsfile_manage_strategy default LEVEL_STRATEGY

2020-11-03 Thread GitBox


qiaojialin commented on pull request #1841:
URL: https://github.com/apache/iotdb/pull/1841#issuecomment-721265751


   duplicated with https://github.com/apache/iotdb/pull/1930



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] qiaojialin closed pull request #1841: change tsfile_manage_strategy default LEVEL_STRATEGY

2020-11-03 Thread GitBox


qiaojialin closed pull request #1841:
URL: https://github.com/apache/iotdb/pull/1841


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] qiaojialin edited a comment on pull request #1924: change travis.yml

2020-11-03 Thread GitBox


qiaojialin edited a comment on pull request #1924:
URL: https://github.com/apache/iotdb/pull/1924#issuecomment-721264657


   You can do this from travis
   
   
![image](https://user-images.githubusercontent.com/7240743/98018190-366dc780-1e3b-11eb-9bd7-0f921bf97713.png)
   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] qiaojialin commented on pull request #1924: change travis.yml

2020-11-03 Thread GitBox


qiaojialin commented on pull request #1924:
URL: https://github.com/apache/iotdb/pull/1924#issuecomment-721264657


   You can do this by from travis
   
   
![image](https://user-images.githubusercontent.com/7240743/98018190-366dc780-1e3b-11eb-9bd7-0f921bf97713.png)
   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] qiaojialin closed pull request #1924: change travis.yml

2020-11-03 Thread GitBox


qiaojialin closed pull request #1924:
URL: https://github.com/apache/iotdb/pull/1924


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] qiaojialin merged pull request #1934: add docker file for 0.11

2020-11-03 Thread GitBox


qiaojialin merged pull request #1934:
URL: https://github.com/apache/iotdb/pull/1934


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] qiaojialin merged pull request #1932: remove useless line to fix a code smell

2020-11-03 Thread GitBox


qiaojialin merged pull request #1932:
URL: https://github.com/apache/iotdb/pull/1932


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] qiaojialin merged pull request #1933: add changelists folder in server module

2020-11-03 Thread GitBox


qiaojialin merged pull request #1933:
URL: https://github.com/apache/iotdb/pull/1933


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] qiaojialin merged pull request #1927: More precise fetch size on query while calculating query memory footprint

2020-11-03 Thread GitBox


qiaojialin merged pull request #1927:
URL: https://github.com/apache/iotdb/pull/1927


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] qiaojialin opened a new pull request #1933: add changelists folder in server module

2020-11-03 Thread GitBox


qiaojialin opened a new pull request #1933:
URL: https://github.com/apache/iotdb/pull/1933


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] qiaojialin merged pull request #1928: fix hot compaction recover

2020-11-03 Thread GitBox


qiaojialin merged pull request #1928:
URL: https://github.com/apache/iotdb/pull/1928


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] sonarcloud[bot] commented on pull request #1931: Enhance TsFileResource deserialize compatibility

2020-11-03 Thread GitBox


sonarcloud[bot] commented on pull request #1931:
URL: https://github.com/apache/iotdb/pull/1931#issuecomment-721252348


   Kudos, SonarCloud Quality Gate passed!
   
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1931=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1931=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1931=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1931=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1931=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1931=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1931=false=SECURITY_HOTSPOT)
 [0 Security Hotspots](https://sonarcloud.io/project/i
 
ssues?id=apache_incubator-iotdb=1931=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1931=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1931=false=CODE_SMELL)
 [0 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1931=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1931)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1931=new_duplicated_lines_density=list)
 [0.0% 
Duplication](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1931=new_duplicated_lines_density=list)
   
The version of Java (1.8.0_252) you 
have used to run this analysis is deprecated and we will stop accepting it 
accepting it soon.Please update to at least Java 11.
   Read more [here](https://sonarcloud.io/documentation/upcoming/)
   
   
   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] qiaojialin closed pull request #1931: Enhance TsFileResource deserialize compatibility

2020-11-03 Thread GitBox


qiaojialin closed pull request #1931:
URL: https://github.com/apache/iotdb/pull/1931


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] qiaojialin commented on pull request #1931: Enhance TsFileResource deserialize compatibility

2020-11-03 Thread GitBox


qiaojialin commented on pull request #1931:
URL: https://github.com/apache/iotdb/pull/1931#issuecomment-721251795


   -1



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] HTHou merged pull request #1926: update AbstractCli

2020-11-03 Thread GitBox


HTHou merged pull request #1926:
URL: https://github.com/apache/iotdb/pull/1926


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] sonarcloud[bot] removed a comment on pull request #1927: More precise fetch size on query while calculating query memory footprint

2020-11-03 Thread GitBox


sonarcloud[bot] removed a comment on pull request #1927:
URL: https://github.com/apache/iotdb/pull/1927#issuecomment-721119146


   Kudos, SonarCloud Quality Gate passed!
   
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1927=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1927=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1927=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1927=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1927=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1927=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1927=false=SECURITY_HOTSPOT)
 [0 Security Hotspots](https://sonarcloud.io/project/i
 
ssues?id=apache_incubator-iotdb=1927=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1927=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1927=false=CODE_SMELL)
 [0 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1927=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1927)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1927=new_duplicated_lines_density=list)
 [0.0% 
Duplication](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1927=new_duplicated_lines_density=list)
   
The version of Java (1.8.0_252) you 
have used to run this analysis is deprecated and we will stop accepting it 
accepting it soon.Please update to at least Java 11.
   Read more [here](https://sonarcloud.io/documentation/upcoming/)
   
   
   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] sonarcloud[bot] commented on pull request #1927: More precise fetch size on query while calculating query memory footprint

2020-11-03 Thread GitBox


sonarcloud[bot] commented on pull request #1927:
URL: https://github.com/apache/iotdb/pull/1927#issuecomment-721247951


   Kudos, SonarCloud Quality Gate passed!
   
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1927=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1927=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1927=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1927=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1927=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1927=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1927=false=SECURITY_HOTSPOT)
 [0 Security Hotspots](https://sonarcloud.io/project/i
 
ssues?id=apache_incubator-iotdb=1927=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1927=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1927=false=CODE_SMELL)
 [0 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1927=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1927)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1927=new_duplicated_lines_density=list)
 [0.0% 
Duplication](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1927=new_duplicated_lines_density=list)
   
The version of Java (1.8.0_252) you 
have used to run this analysis is deprecated and we will stop accepting it 
accepting it soon.Please update to at least Java 11.
   Read more [here](https://sonarcloud.io/documentation/upcoming/)
   
   
   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] sonarcloud[bot] commented on pull request #1929: Fix tsfile resource upgrade error [0.10 - 0.11]

2020-11-03 Thread GitBox


sonarcloud[bot] commented on pull request #1929:
URL: https://github.com/apache/iotdb/pull/1929#issuecomment-721227083


   Kudos, SonarCloud Quality Gate passed!
   
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1929=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1929=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1929=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1929=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1929=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1929=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1929=false=SECURITY_HOTSPOT)
 [0 Security Hotspots](https://sonarcloud.io/project/i
 
ssues?id=apache_incubator-iotdb=1929=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1929=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1929=false=CODE_SMELL)
 [0 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1929=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1929)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1929=duplicated_lines_density=list)
 No Duplication information
   
The version of Java (1.8.0_252) you 
have used to run this analysis is deprecated and we will stop accepting it 
accepting it soon.Please update to at least Java 11.
   Read more [here](https://sonarcloud.io/documentation/upcoming/)
   
   
   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] HTHou opened a new pull request #1932: remove useless line to fix a code smell

2020-11-03 Thread GitBox


HTHou opened a new pull request #1932:
URL: https://github.com/apache/iotdb/pull/1932


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] qiaojialin merged pull request #1524: [IOTDB-776] Control the memory usage of flushing the memtable

2020-11-03 Thread GitBox


qiaojialin merged pull request #1524:
URL: https://github.com/apache/iotdb/pull/1524


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] zhanglingzhe0820 opened a new pull request #1930: remove hot compaction read limiter

2020-11-03 Thread GitBox


zhanglingzhe0820 opened a new pull request #1930:
URL: https://github.com/apache/iotdb/pull/1930


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] sonarcloud[bot] commented on pull request #1524: [IOTDB-776] Control the memory usage of flushing the memtable

2020-11-03 Thread GitBox


sonarcloud[bot] commented on pull request #1524:
URL: https://github.com/apache/iotdb/pull/1524#issuecomment-721159781


   Kudos, SonarCloud Quality Gate passed!
   
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1524=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1524=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1524=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1524=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1524=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1524=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1524=false=SECURITY_HOTSPOT)
 [0 Security Hotspots](https://sonarcloud.io/project/i
 
ssues?id=apache_incubator-iotdb=1524=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1524=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1524=false=CODE_SMELL)
 [6 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1524=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1524)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1524=new_duplicated_lines_density=list)
 [2.5% 
Duplication](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1524=new_duplicated_lines_density=list)
   
The version of Java (1.8.0_252) you 
have used to run this analysis is deprecated and we will stop accepting it 
accepting it soon.Please update to at least Java 11.
   Read more [here](https://sonarcloud.io/documentation/upcoming/)
   
   
   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] sonarcloud[bot] removed a comment on pull request #1524: [IOTDB-776] Control the memory usage of flushing the memtable

2020-11-03 Thread GitBox


sonarcloud[bot] removed a comment on pull request #1524:
URL: https://github.com/apache/iotdb/pull/1524#issuecomment-720917146


   Kudos, SonarCloud Quality Gate passed!
   
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1524=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1524=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1524=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1524=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1524=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1524=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1524=false=SECURITY_HOTSPOT)
 [0 Security Hotspots](https://sonarcloud.io/project/i
 
ssues?id=apache_incubator-iotdb=1524=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1524=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1524=false=CODE_SMELL)
 [8 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1524=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1524)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1524=new_duplicated_lines_density=list)
 [2.8% 
Duplication](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1524=new_duplicated_lines_density=list)
   
The version of Java (1.8.0_252) you 
have used to run this analysis is deprecated and we will stop accepting it 
accepting it soon.Please update to at least Java 11.
   Read more [here](https://sonarcloud.io/documentation/upcoming/)
   
   
   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] sonarcloud[bot] commented on pull request #1927: More precise fetch size on query while calculating query memory footprint

2020-11-03 Thread GitBox


sonarcloud[bot] commented on pull request #1927:
URL: https://github.com/apache/iotdb/pull/1927#issuecomment-721119146


   Kudos, SonarCloud Quality Gate passed!
   
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1927=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1927=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1927=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1927=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1927=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1927=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1927=false=SECURITY_HOTSPOT)
 [0 Security Hotspots](https://sonarcloud.io/project/i
 
ssues?id=apache_incubator-iotdb=1927=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1927=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1927=false=CODE_SMELL)
 [0 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1927=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1927)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1927=new_duplicated_lines_density=list)
 [0.0% 
Duplication](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1927=new_duplicated_lines_density=list)
   
The version of Java (1.8.0_252) you 
have used to run this analysis is deprecated and we will stop accepting it 
accepting it soon.Please update to at least Java 11.
   Read more [here](https://sonarcloud.io/documentation/upcoming/)
   
   
   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] zhanglingzhe0820 opened a new pull request #1928: fix hot compaction recover

2020-11-03 Thread GitBox


zhanglingzhe0820 opened a new pull request #1928:
URL: https://github.com/apache/iotdb/pull/1928


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] jixuan1989 commented on pull request #1890: Finish DIFF encoding algorithm which is reserved in enum before

2020-11-03 Thread GitBox


jixuan1989 commented on pull request #1890:
URL: https://github.com/apache/iotdb/pull/1890#issuecomment-720874325







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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] jt2594838 merged pull request #1894: limit log size of logDispatcher

2020-11-03 Thread GitBox


jt2594838 merged pull request #1894:
URL: https://github.com/apache/iotdb/pull/1894


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] CRZbulabula closed pull request #1925: Fix bug abstract cli

2020-11-03 Thread GitBox


CRZbulabula closed pull request #1925:
URL: https://github.com/apache/iotdb/pull/1925


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] sonarcloud[bot] commented on pull request #1920: [IOTDB-975] Fix reading file error in getChunkMetadataList

2020-11-03 Thread GitBox


sonarcloud[bot] commented on pull request #1920:
URL: https://github.com/apache/iotdb/pull/1920#issuecomment-720575554







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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] sonarcloud[bot] removed a comment on pull request #1716: Restful API v2 (using netty)

2020-11-03 Thread GitBox


sonarcloud[bot] removed a comment on pull request #1716:
URL: https://github.com/apache/iotdb/pull/1716#issuecomment-714861181







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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] jixuan1989 opened a new pull request #1921: add solution for network broken when downloading thrift files from github

2020-11-03 Thread GitBox


jixuan1989 opened a new pull request #1921:
URL: https://github.com/apache/iotdb/pull/1921


   just some documents.



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] sonarcloud[bot] commented on pull request #1926: update AbstractCli

2020-11-03 Thread GitBox


sonarcloud[bot] commented on pull request #1926:
URL: https://github.com/apache/iotdb/pull/1926#issuecomment-721115264


   Kudos, SonarCloud Quality Gate passed!
   
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1926=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1926=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1926=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1926=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1926=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1926=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1926=false=SECURITY_HOTSPOT)
 [0 Security Hotspots](https://sonarcloud.io/project/i
 
ssues?id=apache_incubator-iotdb=1926=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1926=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1926=false=CODE_SMELL)
 [0 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1926=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1926)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1926=new_duplicated_lines_density=list)
 [0.0% 
Duplication](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1926=new_duplicated_lines_density=list)
   
The version of Java (1.8.0_252) you 
have used to run this analysis is deprecated and we will stop accepting it 
accepting it soon.Please update to at least Java 11.
   Read more [here](https://sonarcloud.io/documentation/upcoming/)
   
   
   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] samperson1997 opened a new pull request #1920: [IOTDB-975] Fix reading file error in getChunkMetadataList

2020-11-03 Thread GitBox


samperson1997 opened a new pull request #1920:
URL: https://github.com/apache/iotdb/pull/1920


   See PR #1919 .



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] EJTTianYu opened a new pull request #1924: change travis.yml

2020-11-03 Thread GitBox


EJTTianYu opened a new pull request #1924:
URL: https://github.com/apache/iotdb/pull/1924


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] JackieTien97 commented on issue #1833: I want to know the detail design for tag inverted index

2020-11-03 Thread GitBox


JackieTien97 commented on issue #1833:
URL: https://github.com/apache/iotdb/issues/1833#issuecomment-721052984


   > thank you for your detailed description!
   > 
   > from your comment above, and the system design article in iotdb official 
website, I think you do great job with the timeseries data format to achieve 
the best compression ratio and query performance. but I still doubt 
whether the tag index design now could work well:
   > 
   > * tag index just a hashmap, it could mean lots of potential probelm, if 
multi timeseries created, all of them should wait the write lock, it's a 
concurrency write performance.
   > * If query series device by sequence, hashmap couldn't do well in such 
situation.
   > * have you test the performance when large number devices write to db, 
such as billiion devices, it may face many times of hashmap expansion.  and so 
the query performance  include where clause.
   > * all index saved in memory may lead to system unstable and need expensive 
machine. influxdb in older version save tag index all in memory, seems a bad 
attemp(although now they still do bad, too). also it mean mmanger component 
need lots of memory. for now iotdb seems doesn't implement a distributed 
program, this more worst.
   > * I guess when device quantity increase to a big number, it would take 
lots of time for iotdb to restart and recover.
   > * and so on.
   > 
   > in our tsdb maintain experience, tag index is a very important part, 
develpoer & user should design and use it carefully. for example, if user write 
a tag with long text string, it could cause index use more mem, and drop down 
system availability.
   > 
   > our company have now billion device, we are planning to test tdengine & 
iotdb to verify whether they could meet our requirement. tdengine programmed by 
c, it's little hard for us to maintain it, and iotdb seems have some problem 
too(not distributed system, seems simple index).
   > 
   > If you have any advice, please tell us, thanks!
   > 
   > 顺便问下能不能直接和你们的开发人员沟通。我看你们github回复有点慢, apache mail 
list也不咋活跃,官网上提到有钉钉,但是我不想用钉钉。。
   
   确实是的,我们目前对于时间序列的tag的倒排索引的实现比较native,在大数据量情况下会有问题。
   BTW,我们的分布式版本也正在内测阶段,在cluster_new分支,也有相应的设计文档,您可以在对应分支看到。
   
   我的微信号是JackieTien,有什么疑问,微信响应的快一些。



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] SteveYurongSu opened a new pull request #1913: [IOTDB-971] More precise error messages of slimit and soffset

2020-11-03 Thread GitBox


SteveYurongSu opened a new pull request #1913:
URL: https://github.com/apache/iotdb/pull/1913


   JIRA: https://issues.apache.org/jira/browse/IOTDB-971
   
   ```
   IoTDB> select count from root.group_0.d_0 slimit 10 soffset 10
   Msg: 500: toIndex = 20
   
   IoTDB> select count from root.group_0 slimit 10 soffset 10
   Msg: 411: Meet error in query process: SOFFSET : SOFFSETValue 
exceeds the range.
   ```
   
   
   > The result from the first example makes little sense to users, and I think 
it is probably not right even, since there are 100 measurements for each device.
   
   I think the bug has already been fixed by my PR #1884. Please check whether 
the problem can be reproduced on master branch before merging this PR.
   
   I added some tests for the scenario in this PR.
   
   --- 
   
   > The second result is also confusing, "root.group_0" does not exist and 
that should be the root cause.
   
   I made the error messages more precise in this PR. Users will know how many 
time series that the original data set contains when the slimit error occurs.
   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] jt2594838 merged pull request #1865: [IOTDB-915]Add raft log persist mechanism and use persist log to catch up

2020-11-03 Thread GitBox


jt2594838 merged pull request #1865:
URL: https://github.com/apache/iotdb/pull/1865


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] qiaojialin merged pull request #1913: [IOTDB-971] More precise error messages of slimit and soffset

2020-11-03 Thread GitBox


qiaojialin merged pull request #1913:
URL: https://github.com/apache/iotdb/pull/1913


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] qiaojialin merged pull request #1916: Remove mqtt log and add InsertRowPlan check

2020-11-03 Thread GitBox


qiaojialin merged pull request #1916:
URL: https://github.com/apache/iotdb/pull/1916


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] qiaojialin opened a new pull request #1916: Remove mqtt log and add InsertRowPlan check

2020-11-03 Thread GitBox


qiaojialin opened a new pull request #1916:
URL: https://github.com/apache/iotdb/pull/1916


   In an on-line IoTDB, there is a lot of MQTT log, which causes much trouble.
   
   2020-10-10 00:00:48,121 [nioEventLoopGroup-3-16] INFO  
io.moquette.broker.metrics.MQTTMessageLogger:92 - C<-B PUBACK <1> packetID 
<62818> 
   
   Besides, the measurements is null, we need to add a check
   
   2020-06-08 15:53:11,507 [pool-4-thread-2] ERROR 
org.apache.iotdb.db.concurrent.IoTDBDefaultThreadExceptionHandler:31 - 
Exception in thread pool-4-thread-2-35 
   java.lang.NullPointerException: null
at 
org.apache.iotdb.db.qp.executor.PlanExecutor.insert(PlanExecutor.java:891)
at 
org.apache.iotdb.db.qp.executor.PlanExecutor.processNonQuery(PlanExecutor.java:200)
at 
org.apache.iotdb.db.mqtt.PublishHandler.executeNonQuery(PublishHandler.java:116)
at 
org.apache.iotdb.db.mqtt.PublishHandler.onPublish(PublishHandler.java:99)
at 
io.moquette.interception.BrokerInterceptor.lambda$notifyTopicPublished$3(BrokerInterceptor.java:133)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] qiaojialin merged pull request #1920: [IOTDB-975] Fix reading file error in getChunkMetadataList

2020-11-03 Thread GitBox


qiaojialin merged pull request #1920:
URL: https://github.com/apache/iotdb/pull/1920


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] sonarcloud[bot] removed a comment on pull request #1919: [IOTDB-975] [To rel/0.10] Fix reading file error in getChunkMetadataList

2020-11-03 Thread GitBox


sonarcloud[bot] removed a comment on pull request #1919:
URL: https://github.com/apache/iotdb/pull/1919#issuecomment-720549921







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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] sonarcloud[bot] commented on pull request #460: [IOTDB-68] New shared-nothing cluster

2020-11-03 Thread GitBox


sonarcloud[bot] commented on pull request #460:
URL: https://github.com/apache/iotdb/pull/460#issuecomment-720284638







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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] HTHou commented on a change in pull request #1524: [IOTDB-776] Control the memory usage of flushing the memtable

2020-11-03 Thread GitBox


HTHou commented on a change in pull request #1524:
URL: https://github.com/apache/iotdb/pull/1524#discussion_r515760463



##
File path: server/src/assembly/resources/conf/iotdb-engine.properties
##
@@ -218,28 +218,35 @@ mtree_snapshot_threshold_time=3600
 ### Memory Control Configuration
 
 
-# This adapter could adjust the system memory to avoid OOM.
-# It will refuse to create time series or add storage groups under high system 
load.
-#
-# Attention!!!
-# If disable this parameter, you need to set some parameters according to your 
system load:
-# Normal scenario: 1-50 storage groups. <100k devices, <10M time series
-# memtable_size_threshold = tsfile_size_threshold = IoTDB memory allocation in 
byte / 2 / num of storage group / 4
-# Make sure the total num of time series in system * primitive_array_size * 16 
<= IoTDB memory allocation in byte / 2 / 4
-# you could reduce the primitive_array_size in very high workload.
-enable_parameter_adapter=true
-
-# Memory Allocation Ratio: Write, Read, and Free Memory.
-# The parameter form is a:b:c, where a, b and c are integers. for example: 
1:1:1 , 6:3:1
-write_read_free_memory_proportion=6:3:1
+# Whether to enable memory control
+enable_mem_control=true
+
+# Memory Allocation Ratio: Write, Read, Schema and Free Memory.
+# The parameter form is a:b:c:d, where a, b, c and d are integers. for 
example: 1:1:1:1 , 6:2:1:1
+write_read_schema_free_memory_proportion=4:3:1:2
 
 # primitive array size (length of each array) in array pool
 primitive_array_size=128
 
+# Ratio of memory allocated for buffered arrays, 0.8 by default
+buffered_arrays_memory_proportion=0.8

Review comment:
   0.8 of write memory

##
File path: server/src/assembly/resources/conf/iotdb-engine.properties
##
@@ -179,7 +179,7 @@ tsfile_size_threshold=536870912
 # When a memTable's size (in byte) exceeds this, the memtable is flushed to 
disk. The default threshold is 1 GB.
 memtable_size_threshold=1073741824
 
-avg_series_point_number_threshold=10
+avg_series_point_number_threshold=1

Review comment:
   sure

##
File path: server/src/assembly/resources/conf/iotdb-engine.properties
##
@@ -218,28 +218,35 @@ mtree_snapshot_threshold_time=3600
 ### Memory Control Configuration
 
 
-# This adapter could adjust the system memory to avoid OOM.
-# It will refuse to create time series or add storage groups under high system 
load.
-#
-# Attention!!!
-# If disable this parameter, you need to set some parameters according to your 
system load:
-# Normal scenario: 1-50 storage groups. <100k devices, <10M time series
-# memtable_size_threshold = tsfile_size_threshold = IoTDB memory allocation in 
byte / 2 / num of storage group / 4
-# Make sure the total num of time series in system * primitive_array_size * 16 
<= IoTDB memory allocation in byte / 2 / 4
-# you could reduce the primitive_array_size in very high workload.
-enable_parameter_adapter=true
-
-# Memory Allocation Ratio: Write, Read, and Free Memory.
-# The parameter form is a:b:c, where a, b and c are integers. for example: 
1:1:1 , 6:3:1
-write_read_free_memory_proportion=6:3:1
+# Whether to enable memory control
+enable_mem_control=true
+
+# Memory Allocation Ratio: Write, Read, Schema and Free Memory.
+# The parameter form is a:b:c:d, where a, b, c and d are integers. for 
example: 1:1:1:1 , 6:2:1:1
+write_read_schema_free_memory_proportion=4:3:1:2
 
 # primitive array size (length of each array) in array pool
 primitive_array_size=128
 
+# Ratio of memory allocated for buffered arrays, 0.8 by default
+buffered_arrays_memory_proportion=0.8
+
+# Flush proportion for system, 0.3 by default
+flush_proportion=0.3
+
+# Reject proportion for system, 0.8 by default
+reject_proportion=0.8
+
+# If storage group increased more than this threshold, report to system. The 
default value is 16MB
+storage_group_report_threshold=16777216
+
 # allowed max numbers of deduplicated path in one query
 # it's just an advised value, the real limitation will be the smaller one 
between this and the one we calculated
 max_deduplicated_path_num=1000
 
+# estimated metadata size of one timeseries in Mtree
+estimated_series_size=300

Review comment:
   Fixed

##
File path: server/src/assembly/resources/conf/iotdb-engine.properties
##
@@ -218,28 +218,35 @@ mtree_snapshot_threshold_time=3600
 ### Memory Control Configuration
 
 
-# This adapter could adjust the system memory to avoid OOM.
-# It will refuse to create time series or add storage groups under high system 
load.
-#
-# Attention!!!
-# If disable this parameter, you need to set some parameters according to your 
system load:
-# Normal scenario: 1-50 storage groups. <100k devices, <10M time series
-# memtable_size_threshold = tsfile_size_threshold = IoTDB memory allocation in 
byte / 2 / num of storage group / 4
-# Make sure the total num of time series in system * 

[GitHub] [iotdb] jt2594838 commented on pull request #1865: [IOTDB-915]Add raft log persist mechanism and use persist log to catch up

2020-11-03 Thread GitBox


jt2594838 commented on pull request #1865:
URL: https://github.com/apache/iotdb/pull/1865#issuecomment-72084


   It seems we got compilation error.



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] sonarcloud[bot] commented on pull request #1919: [IOTDB-975] [To rel/0.10] Fix reading file error in getChunkMetadataList

2020-11-03 Thread GitBox


sonarcloud[bot] commented on pull request #1919:
URL: https://github.com/apache/iotdb/pull/1919#issuecomment-720549921







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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] sonarcloud[bot] removed a comment on pull request #1912: add debug SQL log

2020-11-03 Thread GitBox


sonarcloud[bot] removed a comment on pull request #1912:
URL: https://github.com/apache/iotdb/pull/1912#issuecomment-720253725







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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] sonarcloud[bot] commented on pull request #1912: add debug SQL log

2020-11-03 Thread GitBox


sonarcloud[bot] commented on pull request #1912:
URL: https://github.com/apache/iotdb/pull/1912#issuecomment-720253725







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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] qiaojialin opened a new pull request #1926: update AbstractCli

2020-11-03 Thread GitBox


qiaojialin opened a new pull request #1926:
URL: https://github.com/apache/iotdb/pull/1926


   https://github.com/apache/iotdb/pull/1908



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] sonarcloud[bot] commented on pull request #1915: Fix Pull Request #1908 CI Problem

2020-11-03 Thread GitBox


sonarcloud[bot] commented on pull request #1915:
URL: https://github.com/apache/iotdb/pull/1915#issuecomment-720479076







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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] Ring-k opened a new pull request #1915: Fix Pull Request #1908 CI Problem

2020-11-03 Thread GitBox


Ring-k opened a new pull request #1915:
URL: https://github.com/apache/iotdb/pull/1915


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] JackieTien97 opened a new pull request #1927: More precise fetch size on query while calculating query memory footprint

2020-11-03 Thread GitBox


JackieTien97 opened a new pull request #1927:
URL: https://github.com/apache/iotdb/pull/1927


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] samperson1997 opened a new pull request #1919: Jira 975

2020-11-03 Thread GitBox


samperson1997 opened a new pull request #1919:
URL: https://github.com/apache/iotdb/pull/1919


   Fix reading file error in `getChunkMetadataList`, which is caused by 
`binarySearchInChildren`



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] sonarcloud[bot] removed a comment on pull request #1910: check exception when insert tablet

2020-11-03 Thread GitBox


sonarcloud[bot] removed a comment on pull request #1910:
URL: https://github.com/apache/iotdb/pull/1910#issuecomment-720204674


   SonarCloud Quality Gate failed.
   
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1910=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1910=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1910=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1910=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1910=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1910=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1910=false=SECURITY_HOTSPOT)
 [0 Security Hotspots](https://sonarcloud.io/project/i
 
ssues?id=apache_incubator-iotdb=1910=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1910=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1910=false=CODE_SMELL)
 [1 Code 
Smell](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1910=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1910)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1910=new_duplicated_lines_density=list)
 [53.8% 
Duplication](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1910=new_duplicated_lines_density=list)
   
The version of Java (1.8.0_252) you 
have used to run this analysis is deprecated and we will stop accepting it 
accepting it soon.Please update to at least Java 11.
   Read more [here](https://sonarcloud.io/documentation/upcoming/)
   
   
   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] HTHou merged pull request #1919: [IOTDB-975] [To rel/0.10] Fix reading file error in getChunkMetadataList

2020-11-03 Thread GitBox


HTHou merged pull request #1919:
URL: https://github.com/apache/iotdb/pull/1919


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] HTHou merged pull request #1908: [IOTDB-973] fix bug when start-cli with -e parameter

2020-11-03 Thread GitBox


HTHou merged pull request #1908:
URL: https://github.com/apache/iotdb/pull/1908


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] wshao08 opened a new pull request #1917: Add restrictions for LAST query filter

2020-11-03 Thread GitBox


wshao08 opened a new pull request #1917:
URL: https://github.com/apache/iotdb/pull/1917


   Considering performance, we only support '>' or '>=' in LAST query time 
filter currently.



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] sonarcloud[bot] removed a comment on pull request #1924: change travis.yml

2020-11-03 Thread GitBox


sonarcloud[bot] removed a comment on pull request #1924:
URL: https://github.com/apache/iotdb/pull/1924#issuecomment-721010248


   Kudos, SonarCloud Quality Gate passed!
   
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1924=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1924=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1924=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1924=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1924=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1924=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1924=false=SECURITY_HOTSPOT)
 [0 Security Hotspots](https://sonarcloud.io/project/i
 
ssues?id=apache_incubator-iotdb=1924=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1924=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1924=false=CODE_SMELL)
 [0 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1924=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1924)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1924=duplicated_lines_density=list)
 No Duplication information
   
The version of Java (1.8.0_252) you 
have used to run this analysis is deprecated and we will stop accepting it 
accepting it soon.Please update to at least Java 11.
   Read more [here](https://sonarcloud.io/documentation/upcoming/)
   
   
   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] CRZbulabula opened a new pull request #1925: Fix bug abstract cli

2020-11-03 Thread GitBox


CRZbulabula opened a new pull request #1925:
URL: https://github.com/apache/iotdb/pull/1925


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] sonarcloud[bot] commented on pull request #1914: [IOTDB-937] change jdbc into session and don't need to create metadata

2020-11-03 Thread GitBox


sonarcloud[bot] commented on pull request #1914:
URL: https://github.com/apache/iotdb/pull/1914#issuecomment-720321254


   Kudos, SonarCloud Quality Gate passed!
   
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=SECURITY_HOTSPOT)
 [2 Security Hotspots](https://sonarcloud.io/project/i
 
ssues?id=apache_incubator-iotdb=1914=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=CODE_SMELL)
 [15 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1914=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1914)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1914=new_duplicated_lines_density=list)
 [1.2% 
Duplication](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1914=new_duplicated_lines_density=list)
   
The version of Java (1.8.0_252) you 
have used to run this analysis is deprecated and we will stop accepting it 
accepting it soon.Please update to at least Java 11.
   Read more [here](https://sonarcloud.io/documentation/upcoming/)
   
   
   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] jt2594838 merged pull request #1922: [Distributed] Fix catchup judgement during leadership transfer

2020-11-03 Thread GitBox


jt2594838 merged pull request #1922:
URL: https://github.com/apache/iotdb/pull/1922


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] jt2594838 merged pull request #1910: check exception when insert tablet

2020-11-03 Thread GitBox


jt2594838 merged pull request #1910:
URL: https://github.com/apache/iotdb/pull/1910


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] sonarcloud[bot] removed a comment on pull request #1524: [IOTDB-776] Control the memory usage of flushing the memtable

2020-11-03 Thread GitBox


sonarcloud[bot] removed a comment on pull request #1524:
URL: https://github.com/apache/iotdb/pull/1524#issuecomment-720225301







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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] JackieTien97 commented on a change in pull request #1917: Add restrictions for LAST query filter

2020-11-03 Thread GitBox


JackieTien97 commented on a change in pull request #1917:
URL: https://github.com/apache/iotdb/pull/1917#discussion_r515956741



##
File path: 
server/src/main/java/org/apache/iotdb/db/query/executor/LastQueryExecutor.java
##
@@ -145,13 +145,17 @@ public static TimeValuePair 
calculateLastPairForOneSeriesLocally(
 TimeValuePair timeValuePair = 
IoTDB.metaManager.getLastCache(seriesPath);
 if (timeValuePair != null && satisfyFilter(filter, timeValuePair)) {
   return timeValuePair;
+} else if (timeValuePair != null) {
+  return null;
 }
   }
 
   if (node != null && node.getCachedLast() != null) {
 TimeValuePair timeValuePair =  node.getCachedLast();
 if (timeValuePair != null && satisfyFilter(filter, timeValuePair)) {
   return timeValuePair;
+} else if (timeValuePair != null) {
+  return null;

Review comment:
   If the cached last time-value pair doesn't satify the filter, shouldn't 
we keep to call the calculateLastPairByScanningTsFiles() function?





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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] LebronAl opened a new pull request #1922: [Distributed] Fix catchup judgement during leadership transfer

2020-11-03 Thread GitBox


LebronAl opened a new pull request #1922:
URL: https://github.com/apache/iotdb/pull/1922


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] sonarcloud[bot] commented on pull request #1918: Add more query log

2020-11-03 Thread GitBox


sonarcloud[bot] commented on pull request #1918:
URL: https://github.com/apache/iotdb/pull/1918#issuecomment-720492358







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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] qiaojialin merged pull request #1917: Add restrictions for LAST query filter

2020-11-03 Thread GitBox


qiaojialin merged pull request #1917:
URL: https://github.com/apache/iotdb/pull/1917


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] qiaojialin merged pull request #1911: update vue to 1.7.1 and fix shell render name in markdowns

2020-11-03 Thread GitBox


qiaojialin merged pull request #1911:
URL: https://github.com/apache/iotdb/pull/1911


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] sonarcloud[bot] commented on pull request #1910: check exception when insert tablet

2020-11-03 Thread GitBox


sonarcloud[bot] commented on pull request #1910:
URL: https://github.com/apache/iotdb/pull/1910#issuecomment-720432519


   SonarCloud Quality Gate failed.
   
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1910=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1910=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1910=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1910=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1910=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1910=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1910=false=SECURITY_HOTSPOT)
 [0 Security Hotspots](https://sonarcloud.io/project/i
 
ssues?id=apache_incubator-iotdb=1910=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1910=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1910=false=CODE_SMELL)
 [1 Code 
Smell](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1910=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1910)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1910=new_duplicated_lines_density=list)
 [70.0% 
Duplication](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1910=new_duplicated_lines_density=list)
   
The version of Java (1.8.0_252) you 
have used to run this analysis is deprecated and we will stop accepting it 
accepting it soon.Please update to at least Java 11.
   Read more [here](https://sonarcloud.io/documentation/upcoming/)
   
   
   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] sonarcloud[bot] commented on pull request #1916: Remove mqtt log and add InsertRowPlan check

2020-11-03 Thread GitBox


sonarcloud[bot] commented on pull request #1916:
URL: https://github.com/apache/iotdb/pull/1916#issuecomment-720407601


   Kudos, SonarCloud Quality Gate passed!
   
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1916=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1916=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1916=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1916=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1916=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1916=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1916=false=SECURITY_HOTSPOT)
 [0 Security Hotspots](https://sonarcloud.io/project/i
 
ssues?id=apache_incubator-iotdb=1916=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1916=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1916=false=CODE_SMELL)
 [1 Code 
Smell](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1916=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1916)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1916=new_duplicated_lines_density=list)
 [0.0% 
Duplication](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1916=new_duplicated_lines_density=list)
   
The version of Java (1.8.0_252) you 
have used to run this analysis is deprecated and we will stop accepting it 
accepting it soon.Please update to at least Java 11.
   Read more [here](https://sonarcloud.io/documentation/upcoming/)
   
   
   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] qiaojialin commented on issue #1903: 是否有方法可以按月(每个月实际天数非30天)聚合数据?

2020-11-03 Thread GitBox


qiaojialin commented on issue #1903:
URL: https://github.com/apache/iotdb/issues/1903#issuecomment-720880381


   感谢反馈,这个功能我们之后加一下,按照自然月聚合



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] LebronAl opened a new pull request #1923: [Distributed] Fix thrift NPE caused by null alias

2020-11-03 Thread GitBox


LebronAl opened a new pull request #1923:
URL: https://github.com/apache/iotdb/pull/1923


   Solution: use "" rather than `null` to represent  `there is no alias` 



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] qiaojialin merged pull request #1912: add debug SQL log

2020-11-03 Thread GitBox


qiaojialin merged pull request #1912:
URL: https://github.com/apache/iotdb/pull/1912


   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] qiaojialin commented on a change in pull request #1524: [IOTDB-776] Control the memory usage of flushing the memtable

2020-11-03 Thread GitBox


qiaojialin commented on a change in pull request #1524:
URL: https://github.com/apache/iotdb/pull/1524#discussion_r515754171



##
File path: 
server/src/main/java/org/apache/iotdb/db/engine/storagegroup/StorageGroupInfo.java
##
@@ -0,0 +1,112 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.iotdb.db.engine.storagegroup;
+
+import java.util.HashSet;
+import java.util.Set;
+import java.util.concurrent.atomic.AtomicLong;
+
+import org.apache.iotdb.db.conf.IoTDBDescriptor;
+import org.apache.iotdb.db.rescon.SystemInfo;
+
+/**
+ * The storageGroupInfo records the total memory cost of the Storage Group.
+ */
+public class StorageGroupInfo {
+
+  private StorageGroupProcessor storageGroupProcessor;
+
+  /**
+   * The total Storage group memory cost
+   */
+  private AtomicLong memTableCost;

Review comment:
   memoryCost

##
File path: 
server/src/main/java/org/apache/iotdb/db/engine/storagegroup/StorageGroupInfo.java
##
@@ -0,0 +1,112 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.iotdb.db.engine.storagegroup;
+
+import java.util.HashSet;
+import java.util.Set;
+import java.util.concurrent.atomic.AtomicLong;
+
+import org.apache.iotdb.db.conf.IoTDBDescriptor;
+import org.apache.iotdb.db.rescon.SystemInfo;
+
+/**
+ * The storageGroupInfo records the total memory cost of the Storage Group.
+ */
+public class StorageGroupInfo {
+
+  private StorageGroupProcessor storageGroupProcessor;
+
+  /**
+   * The total Storage group memory cost
+   */
+  private AtomicLong memTableCost;
+
+  /**
+   * The threshold of reporting it's size to SystemInfo
+   */
+  private long storageGroupSizeReportThreshold = 
+  
IoTDBDescriptor.getInstance().getConfig().getStorageGroupSizeReportThreshold();
+
+  private long lastReportedSize = 0L;
+
+  /**
+   * A set of all unclosed TsFileProcessors in this SG
+   */
+  private Set reportedTsps = new HashSet<>();
+
+  public StorageGroupInfo(StorageGroupProcessor storageGroupProcessor) {
+this.storageGroupProcessor = storageGroupProcessor;
+memTableCost = new AtomicLong();
+  }
+
+  public StorageGroupProcessor getStorageGroupProcessor() {
+return storageGroupProcessor;
+  }
+
+  /**
+   * When create a new TsFileProcessor, call this method to report it
+   */
+  public void reportTsFileProcessorInfo(TsFileProcessor tsFileProcessor) {

Review comment:
   ```suggestion
 public void initTsFileProcessorInfo(TsFileProcessor tsFileProcessor) {
   ```

##
File path: 
server/src/main/java/org/apache/iotdb/db/engine/memtable/AbstractMemTable.java
##
@@ -159,6 +171,21 @@ public void write(InsertTabletPlan insertTabletPlan, int 
start, int end) {
 }
   }
 
+  @Override
+  public boolean checkIfNeedStartNewChunk(String deviceId, String measurement) 
{

Review comment:
   ```suggestion
 public boolean checkIfChunkExist(String deviceId, String measurement) {
   ```

##
File path: 
server/src/main/java/org/apache/iotdb/db/engine/memtable/AbstractMemTable.java
##
@@ -159,6 +171,21 @@ public void write(InsertTabletPlan insertTabletPlan, int 
start, int end) {
 }
   }
 
+  @Override
+  public boolean checkIfNeedStartNewChunk(String deviceId, String measurement) 
{

Review comment:
   ```suggestion
 public boolean checkIfChunkDoesNotExist(String deviceId, String 
measurement) {
   ```

##
File path: 

[GitHub] [iotdb] sonarcloud[bot] removed a comment on pull request #1918: Add more query log

2020-11-03 Thread GitBox


sonarcloud[bot] removed a comment on pull request #1918:
URL: https://github.com/apache/iotdb/pull/1918#issuecomment-720492358


   Kudos, SonarCloud Quality Gate passed!
   
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1918=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1918=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1918=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1918=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1918=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1918=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1918=false=SECURITY_HOTSPOT)
 [0 Security Hotspots](https://sonarcloud.io/project/i
 
ssues?id=apache_incubator-iotdb=1918=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1918=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1918=false=CODE_SMELL)
 [16 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1918=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1918)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1918=new_duplicated_lines_density=list)
 [0.0% 
Duplication](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1918=new_duplicated_lines_density=list)
   
The version of Java (1.8.0_252) you 
have used to run this analysis is deprecated and we will stop accepting it 
accepting it soon.Please update to at least Java 11.
   Read more [here](https://sonarcloud.io/documentation/upcoming/)
   
   
   



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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [iotdb] sonarcloud[bot] removed a comment on pull request #1920: [IOTDB-975] Fix reading file error in getChunkMetadataList

2020-11-03 Thread GitBox


sonarcloud[bot] removed a comment on pull request #1920:
URL: https://github.com/apache/iotdb/pull/1920#issuecomment-720575554







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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




  1   2   >