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


   **Requirement source:** In the situation that there exist a large number of 
timeseries, it would take a long time to restart IoTDB by reading mlog.txt and 
executing the commands line by line. For example, it takes about 2 minutes to 
restart with 20M timeseries.
   
   **Basic ideas:** Every time mlog.txt reaches a certain number of lines, 
Generate a snapshot, which includes the serialization of MTree. When a new 
snapshot is generated, the old one is deleted. Snapshot file and mlog.txt are 
in the same directory.
   
   **User configuration:** Users could configure the threshold number of the 
mlog lines `mtree_snapshot_interval`. By default, a snapshot is generated for 
every 100k lines.


----------------------------------------------------------------
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:
[email protected]


Reply via email to