You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>The following describes how to set the storage engine of the java-tron node to RocksDB, and how to perform data conversion between leveldb and rocksdb.</p>
enable = false // indicate whether enable the backup plugin
1571
+
propPath = "prop.properties" // record which bak directory is valid
1572
+
bak1path = "bak1/database" // you must set two backup directories to prevent application halt unexpected(e.g. kill -9).
1573
+
bak2path = "bak2/database"
1574
+
frequency = 10000 // indicate backup db once every 10000 blocks processed.
1575
+
}
1576
+
</code></pre></div>
1554
1577
<p>Note: FullNode can use data backup function. In order not to affect SuperNode's block producing performance, SuperNode does not support backup service, but SuperNode's backup service node can use this function.</p>
1555
1578
<h3id="convert-leveldb-to-rocksdb">Convert LevelDB to RocksDB<aclass="headerlink" href="#convert-leveldb-to-rocksdb" title="Permanent link">¶</a></h3>
1556
1579
<p>The data storage structure of LevelDB and RocksDB is not compatible, please make sure the node use the same type of data engine all the time. We provide data conversion script which can convert LevelDB data to RocksDB data.</p>
0 commit comments