in raftNode start(), why we should 'finish processing incoming messages before we signal notifyc chan'? #16635
Replies: 1 comment
-
I known, processMessages() handled snapshot msg and send snapshot-msg to channel, then applyAll() can get snapshot-msg from channel. |
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.
-
in raftNode start(), I see the code(removed some comment and unimportant code):
in order to know the purpose, I found the pr: #7706 , and I see the original comment:
but I still don't know why the code is that. Could example the purpose?
Beta Was this translation helpful? Give feedback.
All reactions