We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
リーダノードは、各followerノード毎に状態(e.g., ログの長さ)を保持しているが、今はfollowerノードの再起動を上手く認識できないことがあるので改善する。
案: ノードにインスタンスIDを付与して、それが変わっている場合には、リーダが保持するそのノードの状態を初期化する
問題の再現方法①:
問題の再現方法②:
考察:
The text was updated successfully, but these errors were encountered:
別件の検証中に "問題の再現方法1" に関して1つ判明していて、データを削除後にノードを再起動したからといって同期(スナップショット同期)されなくなることはない。
以下その理由。
ダウンからの再起動で1回目の AppendEntriesCall で
raftlog/src/node_state/leader/follower.rs
Line 177 in 2e3cb46
に来てしまう。(本来はデータ削除後は sync していないが過去の状態が反映されてしまう。)
Line 184 in 2e3cb46
で同期状態がクリアされる。
で、2回目の AppendEntriesCall で
Line 197 in 2e3cb46
を通り、log_tail が正常に同期される。
Sorry, something went wrong.
現在の master では再現しないようです。
了解です。確認ありがとうございます。 > 現在の master では再現しないようです。
shinnya
No branches or pull requests
リーダノードは、各followerノード毎に状態(e.g., ログの長さ)を保持しているが、今はfollowerノードの再起動を上手く認識できないことがあるので改善する。
案: ノードにインスタンスIDを付与して、それが変わっている場合には、リーダが保持するそのノードの状態を初期化する
問題の再現方法①:
問題の再現方法②:
考察:
The text was updated successfully, but these errors were encountered: