Skip to content

chore(v2): add option to specify raft fsm snapshot directory #4123

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

Merged
merged 1 commit into from
Apr 21, 2025

Conversation

kolesnikovae
Copy link
Collaborator

Previously, raft configuration accepted a single directory parameter for all raft-related files. In practice, it's often desirable to separate the WAL and snapshot storage. To facilitate this, two new configuration parameters have been introduced:

  • snapshots-dir: specifies the directory where Raft snapshots are stored. Overrides the default location.
  • snapshots-import-dir: an optional parameter that simplifies migration of existing snapshots.

@kolesnikovae kolesnikovae force-pushed the chore/fsm-snapshot-import branch from b29dfa0 to d16ae20 Compare April 20, 2025 09:19
@kolesnikovae kolesnikovae marked this pull request as ready for review April 21, 2025 00:46
@kolesnikovae kolesnikovae requested a review from a team as a code owner April 21, 2025 00:46
@kolesnikovae kolesnikovae force-pushed the chore/fsm-snapshot-import branch from d16ae20 to 831d390 Compare April 21, 2025 03:01
@kolesnikovae kolesnikovae enabled auto-merge (squash) April 21, 2025 03:07
@kolesnikovae kolesnikovae merged commit 3793765 into main Apr 21, 2025
20 checks passed
@kolesnikovae kolesnikovae deleted the chore/fsm-snapshot-import branch April 21, 2025 03:08
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.

2 participants