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

Configuring ELECTRIC_STORAGE_DIR is not enough for Electric to use that directory #2415

Open
alco opened this issue Mar 5, 2025 · 0 comments
Labels

Comments

@alco
Copy link
Member

alco commented Mar 5, 2025

The ELECTRIC_STORAGE_DIR configuration allows one to define the root directory for Electric's disk storage, under which it will create subdirectories for shape logs and the persistent KV store. However, setting this option alone doesn't work as intended: both the shape log store and the persistent KV store use the default ./persistent root directory unless the ELECTRIC_STORAGE=file and ELECTRIC_PERSISTENT_STATE=file configuration options are also set.

I don't think this is the intended behaviour. Both shape store and persistent KV store default to using the disk if not explicitly configured, but they should use the configured ELECTRIC_STORAGE_DIR as the root dir in that case too.

@alco alco added the bug label Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant