Open PierreBesson opened 2 years ago
Thanks for logging this. This is due to the fact that paritydb doesn't truly support opening the db in readonly mode. We'll have to push a fix in paritydb to solve it.
@sandreim Do you have any idea if paritydb will ever support the kvdb exporter ?
It can support what we need, but it seems not really easy to implement. There is no urgency here as we can use rocksdb for monitoring successfuly
I am trying to run kvdb introspector in prometheus mode alongside a node using paritydb but running it crashes my node with the following Lock error:
polkadot-introspector kvdb --db /data/chains/versi_v1_9/paritydb/full --db-type paritydb prometheus --port 9620
sleep 60; polkadot-introspector kvdb --db /data/chains/versi_v1_9/paritydb/full --db-type paritydb prometheus
) then the node runs fine but the introspector crashes on startup:Location: src/kvdb/paritydb.rs:38