Update default value of es-objects-limit-orders to true
Done some code cleanups and refactory.
Tasks:
[x] sync (objects in) ES database from node on startup via --es-objects-sync-db-on-startup option
[x] deal with errors on deletion i.e. data does not exist in ES due to out of sync: { ..., "errors":false, "items":[{"delete":{ ..., "result":"not_found", ..., "status":404}}, ... ]}
[x] deprecate the keep-only-current option, add dedicated store-updates and no-delete options for each applicable object
PR for #2464.
Features:
es-objects-sync-db-on-startup
to copy all applicable objects from the object database (chain state) to ES on program startupes-objects-keep-only-current
option, add new optionses-objects-accounts-store-updates
, defaultfalse
es-objects-assets-store-updates
, defaultfalse
es-objects-asset-bitasset-store-updates
, defaultfalse
es-objects-balances-store-updates
, defaultfalse
es-objects-proposals-store-updates
, defaultfalse
es-objects-proposals-no-delete
, defaulttrue
es-objects-limit-orders-store-updates
, defaultfalse
es-objects-limit-orders-no-delete
, defaultfalse
es-objects-limit-orders
totrue
Done some code cleanups and refactory.
Tasks:
--es-objects-sync-db-on-startup
option{ ..., "errors":false, "items":[{"delete":{ ..., "result":"not_found", ..., "status":404}}, ... ]}
keep-only-current
option, add dedicatedstore-updates
andno-delete
options for each applicable object