Improve NodeStore to ShardStore imports

* Run the import process in a background thread
* Prevent online_delete from removing ledgers pending import
This commit is contained in:
Devon White
2020-12-18 17:31:15 -05:00
committed by manojsdoshi
parent 14b2f27c3e
commit 38f954fd46
20 changed files with 711 additions and 302 deletions

View File

@@ -107,6 +107,10 @@ Handler const handlerArray[]{
{"log_level", byRef(&doLogLevel), Role::ADMIN, NO_CONDITION},
{"logrotate", byRef(&doLogRotate), Role::ADMIN, NO_CONDITION},
{"manifest", byRef(&doManifest), Role::USER, NO_CONDITION},
{"nodetoshard_status",
byRef(&doNodeToShardStatus),
Role::USER,
NO_CONDITION},
{"noripple_check", byRef(&doNoRippleCheck), Role::USER, NO_CONDITION},
{"owner_info", byRef(&doOwnerInfo), Role::USER, NEEDS_CURRENT_LEDGER},
{"peers", byRef(&doPeers), Role::ADMIN, NO_CONDITION},