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/01/21 03:49:34 UTC

[GitHub] [iotdb] HTHou commented on a change in pull request #2531: Add the user guide for upgrading v0.11 to v0.12

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



##########
File path: docs/Download/README.md
##########
@@ -56,12 +56,27 @@ Legacy version are available here: [https://archive.apache.org/dist/iotdb/](http
 
 **<font color=red>Attention</font>**:
 
-- How to upgrade a minor version (e.g., from v0.9.0 to v0.9.3)?
+- How to upgrade a minor version (e.g., from v0.11.0 to v0.11.1)?
   * versions which have the same major version are compatible.
   * Just download and unzip the new version. Then modify the configuration files to keep consistent 
   with what you set in the old version.
   * stop the old vesion instance, and start the new one.
 
+- How to upgrade from v.11.x or v0.10.x to v0.12.x?
+  * Upgrading from v0.11 or v0.10 to v0.12 is similar as v0.9 to v0.10. We the upgrade tool will rewrite the data files.
+  * Stop writing new data.
+  * Call `flush` command using sbin/start-cli.sh in original version to close all TsFiles.
+  * We recommend to backup the data file (also the wal files and mlog.txt) before upgrading for rolling back.
+  * Just download, unzip v0.12.x.zip, and modify conf/iotdb-engine.proeprties to let all the 
+  directories point to the folders set in previous version (or the backup folder). 
+  You can also modify other settings if you want. 
+  * Stop IoTDB v0.11 or v0.10 instance, and start v0.12.x, then the IoTDB will upgrade data file format automatically. We are able to read and write when data files are upgrading.

Review comment:
       ```suggestion
     * Stop IoTDB v0.11 or v0.10 instance, and start v0.12.x, then the IoTDB will upgrade data file format automatically. It is ok to read and write data when the upgrading process works.
   ```




----------------------------------------------------------------
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