oasisprotocol / oasis-core

Performant and Confidentiality-Preserving Smart Contracts + Blockchains
https://oasisprotocol.org
Apache License 2.0
334 stars 110 forks source link

go/storage: Add automatic storage backend detection #5876

Open kostko opened 6 days ago

kostko commented 6 days ago

Fixes #5875

The new default storage backend is "auto" which attempts to detect the storage backend that should be used based on existing data directories. When none exist, "pathbadger" is used. When multiple exist, the most recently modified one is used.

This should make newly deployed nodes default to pathbadger.

netlify[bot] commented 6 days ago

Deploy Preview for oasisprotocol-oasis-core canceled.

Name Link
Latest commit b6d35038cfe7bedcef39acf39b0938440d07ca34
Latest deploy log https://app.netlify.com/sites/oasisprotocol-oasis-core/deploys/6703a421e4d2f2000848f44d