-
Notifications
You must be signed in to change notification settings - Fork 783
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
migrate_database_lmdb_to_rocksdb improvements (#4647)
* Rocksdb migration: disk space check and progress output * Estimate the required free disk space * More granular progress feedback * Use Nano Logger * Clang format fix * Fixed double count * Use atomics for multithreaded counters are accurate * Use a single periodically refreshed transaction per thread. * Output the number of entries for each table * Use TransactionDB rather than OptimisticTransactionDB. * Use default refresh interval. * Fixed error and aligned log output format --------- Co-authored-by: Colin LeMahieu <clemahieu@gmail.com>
- Loading branch information
Showing
3 changed files
with
98 additions
and
22 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 |
---|---|---|
|
@@ -66,6 +66,7 @@ enum class type | |
opencl_work, | ||
upnp, | ||
rep_crawler, | ||
ledger, | ||
lmdb, | ||
rocksdb, | ||
txn_tracker, | ||
|
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