-
Notifications
You must be signed in to change notification settings - Fork 276
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2075 from hyperledger/develop
Iroha v1.5 release
- Loading branch information
Showing
172 changed files
with
3,354 additions
and
5,410 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
system_irohad_test | ||
integration_add_peer_test | ||
regression_regression_test | ||
integration_remove_peer_test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
====================== | ||
PostgreSQL vs. RocksDB | ||
====================== | ||
|
||
When you use Iroha, you have a choice of building and using it with either PostgreSQL (relational database) or RocksDB (key-value). | ||
|
||
Both options are reliable and can be used in production environment but there are some key differences we would like to tell you about that might help you make your choice. | ||
|
||
Specific features of PostgreSQL: | ||
******************************** | ||
|
||
- Classic database option -- which means that there are many tools to work with it; | ||
- When Iroha is working in Docker, PostgreSQL runs in a separate container; | ||
- With a lot of data PostgreSQL might become slower | ||
|
||
.. tip:: You can learn more about this database in its documentation: https://www.postgresql.org/docs/ | ||
|
||
Specific features of RocksDB: | ||
***************************** | ||
|
||
- Fast (see `performance testing results <https://wiki.hyperledger.org/display/iroha/Release+1.3.0>`_); | ||
- RocksDB is embedded -- both WSV and blockstore are in the same database which means more consistency, but there is a possibility of manually adding a hash with access to the database which might cause some security-related concerns; | ||
- Takes less space on the disk and there is no information that it could grow too big | ||
|
||
.. tip:: You can learn more about this database in its documentation: https://rocksdb.org/docs/getting-started.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
======================== | ||
Good Migration Practices | ||
======================== | ||
|
||
Iroha maintainers often receive questions about the best ways to migrate projects to new versions of Iroha, so we decided to share our practices that worked the best for us and our projects. | ||
|
||
**On an example of a 4 peer network we will go through a migration procedure (also moving from PostgeSQL database to RocksDB) that turned out to be the most stable and reliable in our projects.** | ||
|
||
Here are the steps: | ||
******************* | ||
|
||
1. You have the 4 nodes running Iroha with the old version on Postgres | ||
2. Follow the instructions on `Iroha Database migration <migration-rocksdb.html>`_. Copy the RocksDB folder. *Skip this step if you do not need to switch between Postgres and RocksDB* | ||
3. Add a new peer running the new version of Iroha using the `Add Peer command <add_peer.html>`_ and with the RocksDB folder on it. | ||
4. Add similar nodes 2 more times | ||
5. Now you have 7 nodes -- 4 running the old version and 3 running the new one | ||
6. Switch off the first node with the old version and update this node with the same key pair to the new version (with RocksDB, if that is your goal) | ||
7. Repeat this for every node with the old Iroha version | ||
8. Now you can remove the "new" nodes and continue the work on your project! | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.