-
Notifications
You must be signed in to change notification settings - Fork 158
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
add an option SnapshotPolicy::Never
#851
Comments
👋 Thanks for opening this issue! Get help or engage by:
|
drmingdrmer
changed the title
add an option
add an option May 23, 2023
SnapshotPolicy::Never
SnapshotPolicy::Never
and SnapshotPolicy::Manual
drmingdrmer
changed the title
add an option
add an option May 24, 2023
SnapshotPolicy::Never
and SnapshotPolicy::Manual
SnapshotPolicy::Never
drmingdrmer
added a commit
to drmingdrmer/openraft
that referenced
this issue
May 24, 2023
With `SnapshotPolicy::Never`, Openraft will not build snapshots automatically based on a policy. Instead, the application has full control over when snapshots are built. In this scenario, the application can call the `Raft::trigger_snapshot()` API at the desired times to manually trigger Openraft to build a snapshot. Rename integration tests: - `log_compaction -> snapshot_building` - `snapshto -> snapshot_streaming` - Fix: databendlabs#851
drmingdrmer
added a commit
to drmingdrmer/openraft
that referenced
this issue
May 24, 2023
With `SnapshotPolicy::Never`, Openraft will not build snapshots automatically based on a policy. Instead, the application has full control over when snapshots are built. In this scenario, the application can call the `Raft::trigger_snapshot()` API at the desired times to manually trigger Openraft to build a snapshot. Rename integration tests: - `log_compaction -> snapshot_building` - `snapshto -> snapshot_streaming` - Fix: databendlabs#851
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add an option
SnapshotPolicy::Never
for application that wish to control snapshot building manually.In such a scenario, use
Raft::trigger_snapshot()
to trigger snapshot building.Originally posted by @drmingdrmer in #823 (comment)
The text was updated successfully, but these errors were encountered: