cannot take snapshot
nnsgmsone opened this issue · 9 comments
I think you can check the snapReq.index and commitIndex before calling the user callback. Why not?Is there any special consideration?
Hey @nnsgmsone, thank you so much for all this information. Are you able to push up your code into a repository so we can take a deeper look into it? I feel like it would help give us a lot of additional context.
Thank you!
Ok, I will write a simple example and send it to you
@s-christoff the repository is https://github.com/nnsgmsone/raft_test.git。My step is to start two nodes first, then call the client to send the request, wait for the snapshot to be created. then start a new node, and then you will see the situation.
for the record I've seen this as well in our production system.
@james-lawrence how do you deal with this problem?
Hey there, This issue has been automatically closed because there hasn't been any activity for a while. If you are still experiencing problems, or still have questions, feel free to open a new one :+1