Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go/storage: Add automatic storage backend detection #5876

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kostko
Copy link
Member

@kostko kostko commented Sep 30, 2024

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.

Copy link

netlify bot commented Sep 30, 2024

Deploy Preview for oasisprotocol-oasis-core canceled.

Name Link
🔨 Latest commit 034190c
🔍 Latest deploy log https://app.netlify.com/sites/oasisprotocol-oasis-core/deploys/66faba96a5ea070008086e83

@kostko kostko force-pushed the kostko/feature/storage-default-pathbadger branch 2 times, most recently from 4bd7b22 to 563bf8c Compare September 30, 2024 14:36
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.
@kostko kostko force-pushed the kostko/feature/storage-default-pathbadger branch from 563bf8c to 034190c Compare September 30, 2024 14:49
@kostko kostko marked this pull request as ready for review September 30, 2024 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Default storage backend to pathbadger for new nodes
1 participant