Clio develop
The XRP Ledger API server.
|
Represents the state of the ETL subsystem. More...
#include <SystemState.hpp>
Public Attributes | |
util::prometheus::Bool | isReadOnly |
Whether the process is in strict read-only mode. | |
util::prometheus::Bool | isWriting |
Whether the process is writing to the database. | |
std::atomic_bool | isStopping = false |
Whether the software is stopping. | |
std::atomic_bool | writeConflict = false |
Whether a write conflict was detected. | |
util::prometheus::Bool | isAmendmentBlocked |
Whether clio detected an amendment block. | |
util::prometheus::Bool | isCorruptionDetected |
Whether clio detected a corruption that needs manual attention. | |
Represents the state of the ETL subsystem.
util::prometheus::Bool etl::SystemState::isAmendmentBlocked |
Whether clio detected an amendment block.
Being amendment blocked means that Clio was compiled with libxrpl that does not yet support some field that arrived from rippled and therefore can't extract the ledger diff. When this happens, Clio can't proceed with ETL and should log this error and only handle RPC requests.
util::prometheus::Bool etl::SystemState::isCorruptionDetected |
Whether clio detected a corruption that needs manual attention.
When corruption is detected, Clio should disable cache and stop the cache loading process in order to prevent further corruption.
util::prometheus::Bool etl::SystemState::isReadOnly |
Whether the process is in strict read-only mode.
In strict read-only mode, the process will never attempt to become the ETL writer, and will only publish ledgers as they are written to the database.
util::prometheus::Bool etl::SystemState::isWriting |
Whether the process is writing to the database.