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:09:42 UTC

[GitHub] [iotdb] HTHou opened a new pull request #2531: Add the user guide for upgrading v0.11 to v0.12

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


   Update the user guide for upgrading.
   
   <!--
   In each section, please describe design decisions made, including:
    - Choice of algorithms
    - Behavioral aspects. What configuration values are acceptable? How are corner cases and error 
       conditions handled, such as when there are insufficient resources?
    - Class organization and design (how the logic is split between classes, inheritance, composition, 
       design patterns)
    - Method organization and design (how the logic is split between methods, parameters and return types)
    - Naming (class, method, API, configuration, HTTP endpoint, names of emitted metrics)
   -->
   
   
   <!-- It's good to describe an alternative design (or mention an alternative name) for every design 
   (or naming) decision point and compare the alternatives with the designs that you've implemented 
   (or the names you've chosen) to highlight the advantages of the chosen designs and names. -->
   
   <!-- If there was a discussion of the design of the feature implemented in this PR elsewhere 
   (e. g. a "Proposal" issue, any other issue, or a thread in the development mailing list), 
   link to that discussion from this PR description and explain what have changed in your final design 
   compared to your original proposal or the consensus version in the end of the discussion. 
   If something hasn't changed since the original discussion, you can omit a detailed discussion of 
   those aspects of the design here, perhaps apart from brief mentioning for the sake of readability 
   of this PR description. -->
   
   <!-- Some of the aspects mentioned above may be omitted for simple and small changes. -->
   
   <hr>
   
   This PR has:
   - [ ] added documentation for new or modified features or behaviors.
   
   <!-- Check the items by putting "x" in the brackets for the done things. Not all of these items 
   apply to every PR. Remove the items which are not done or not relevant to the PR. None of the items 
   from the checklist above are strictly necessary, but it would be very helpful if you at least 
   self-review the PR. -->
   
   <hr>
   
   ##### Key changed/added classes (or packages if there are too many classes) in this PR
   


----------------------------------------------------------------
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 commented on a change in pull request #2531: Add the user guide for upgrading v0.11 to v0.12

Posted by GitBox <gi...@apache.org>.
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



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

Posted by GitBox <gi...@apache.org>.
jixuan1989 commented on a change in pull request #2531:
URL: https://github.com/apache/iotdb/pull/2531#discussion_r561558384



##########
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:
       > We are able to read and write when data files are upgrading.
   
   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



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

Posted by GitBox <gi...@apache.org>.
jixuan1989 commented on a change in pull request #2531:
URL: https://github.com/apache/iotdb/pull/2531#discussion_r561558384



##########
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:
       > We are able to read and write when data files are upgrading.
   
   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



[GitHub] [iotdb] jixuan1989 merged pull request #2531: Add the user guide for upgrading v0.11 to v0.12

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


   


----------------------------------------------------------------
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 commented on a change in pull request #2531: Add the user guide for upgrading v0.11 to v0.12

Posted by GitBox <gi...@apache.org>.
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



[GitHub] [iotdb] jixuan1989 merged pull request #2531: Add the user guide for upgrading v0.11 to v0.12

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


   


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