You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2021/05/11 08:56:27 UTC

[GitHub] [iotdb] zhanglingzhe0820 opened a new pull request #3161: [To rel/0.12] Fix `merge` command cannot execute compaction task bug

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


   ## Behavior
   1. Set IoTDB params like below:
   ```java
   enableMemControl: false
   memtableSizeThreshold: 1*1024*1024L
   ```
   2. Use SessionExample to write data util there are too much TsFile that cannot be compacted immediately like figure-1.
   ![image](https://user-images.githubusercontent.com/24886743/117613375-6656a880-b199-11eb-95d2-ec6ac8863c63.png)
   3. open cli and use `merge` command to execute compaction task.
   
   Problem: Nothing happens after `merge` command.
   
   ## Reason
   The member variable timePartitionIdVersionControllerMap will be empty if there are no Memtables in memory. So the `merge` command cannot find timePartitionId to execute compaction bug.
   
   ## Solution
   1. use `partitionLatestFlushedTimeForEachDevice` instead.


-- 
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:
users@infra.apache.org



[GitHub] [iotdb] HTHou merged pull request #3161: [To rel/0.12] Fix `merge` command cannot execute compaction task bug

Posted by GitBox <gi...@apache.org>.
HTHou merged pull request #3161:
URL: https://github.com/apache/iotdb/pull/3161


   


-- 
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:
users@infra.apache.org