You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@git-hulk how did you fixed this issue, I found it again in latest code。
Step 1: clusterStore.UpdateCluster invoke Set method in raft\node.go, it calls code n.raftNode.Propose(ctx, bytes) to commit new cluster topology.
Step 2: raft\node.go method runRaftMessages() calls applyDataEntry() in raft\store.go to update cluster topology in dataStore.
At this time, during step 1 and 2, if syncClusterToNodes method fetch cluster topology from dataStore, it will get old data.
Activity
greatsharp commentedon Jun 28, 2025
greatsharp commentedon Jun 28, 2025
Please apply PR #320 at first
git-hulk commentedon Jun 29, 2025
@greatsharp Thanks for your fix.
greatsharp commentedon Apr 28, 2026
@git-hulk how did you fixed this issue, I found it again in latest code。
Step 1: clusterStore.UpdateCluster invoke Set method in raft\node.go, it calls code n.raftNode.Propose(ctx, bytes) to commit new cluster topology.
Step 2: raft\node.go method runRaftMessages() calls applyDataEntry() in raft\store.go to update cluster topology in dataStore.
At this time, during step 1 and 2, if syncClusterToNodes method fetch cluster topology from dataStore, it will get old data.
greatsharp commentedon May 8, 2026
Checked the etcd server method 'processInternalRaftRequestOnce'
the select logic after Propose is needed in kvrocks-controller