optakt / flow-dps

Flow Data Provisioning Service
Apache License 2.0
29 stars 13 forks source link

After crash, DPS fails to open Badger DB because of read only mode #504

Open Ullaakut opened 2 years ago

Ullaakut commented 2 years ago

Description

Note: if the DB being opened had crashed before and has vlog data to be replayed, ReadOnly will cause Open to fail with an appropriate message.

Source

Because of this, having a way to open the database without read-only mode would allow it to be reused despite a crash having happened. Since this is only an edge case however, it should not impact the default options.