question about snapshot #300
Unanswered
calvin2021y
asked this question in
Q&A
Replies: 1 comment
-
It’s not documented but there is a ra_snapshot behaviour you can implement
and configure.
On Thu, 7 Jul 2022 at 05:17, calvin2021y ***@***.***> wrote:
I am new to erlang and this project look great.
I have one question about snapshot: how to provide myown snapshot/restore
callback function like https://github.com/canonical/raft ?
snapshot_callback should take state as argument, and return snapshot.
restore_callback should take snapshot as argument, and return state.
—
Reply to this email directly, view it on GitHub
<#300>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJAHFBPZ4NON2WAGTO7ENLVSZK6XANCNFSM5235MY4Q>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
*Karl Nilsson*
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am new to erlang and this project look great.
I have one question about snapshot: how to provide myown snapshot/restore callback function like https://github.com/canonical/raft ?
snapshot_callback should take state as argument, and return snapshot.
restore_callback should take snapshot as argument, and return state.
Beta Was this translation helpful? Give feedback.
All reactions