Skip to content

Instantly share code, notes, and snippets.

@matthias11-21
Created September 4, 2015 09:50
Show Gist options
  • Save matthias11-21/76d43ab66d469743f9c4 to your computer and use it in GitHub Desktop.
Save matthias11-21/76d43ab66d469743f9c4 to your computer and use it in GitHub Desktop.
zraft problem again :-(
--------------------------------------------------------------------------------
Commands left: 86
Cluster: [{{1,zraftnode1,zraftnode1@localhost},true},
{{3,zraftnode3,zraftnode3@localhost},true},
{{4,zraftnode4,zraftnode4@localhost},true}]
Current value: 0.3302492454705035
Checking values in cluster...{{1,zraftnode1,zraftnode1@localhost}, 1}...{{3,zraftnode3,zraftnode3@localhost}, 1}...{{4,zraftnode4,zraftnode4@localhost}, 1}...{{1,zraftnode1,zraftnode1@localhost}, 2}...{{3,zraftnode3,zraftnode3@localhost}, 2}...{{4,zraftnode4,zraftnode4@localhost}, 2}...done
try to remove node {1,zraftnode1,zraftnode1@localhost}
zraft_cluster:switch(): using peer-node {3,zraftnode3,zraftnode3@localhost}
(zraftnode3@localhost)1> 11:48:28.908 [warning] Current leader has failed
(zraftnode3@localhost)1> 11:48:28.908 [warning] Current leader has failed
(zraftnode3@localhost)1> 11:48:28.908 [warning] Current leader has failed
(zraftnode3@localhost)1> 11:48:28.908 [warning] Current leader has failed
(zraftnode3@localhost)1> 11:48:28.908 [warning] Current leader has failed
(zraftnode3@localhost)1> 11:48:28.908 [warning] Current leader has failed
(zraftnode3@localhost)1> 11:48:28.908 [warning] Current leader has failed
(zraftnode3@localhost)1> 11:48:28.908 [warning] Current leader has failed
(zraftnode3@localhost)1> 11:48:28.908 [warning] Current leader has failed
(zraftnode3@localhost)1> 11:48:28.908 [warning] Current leader has failed
(zraftnode4@localhost)1> 11:48:28.908 [warning] Current leader has failed
(zraftnode4@localhost)1> 11:48:28.908 [warning] Current leader has failed
(zraftnode1@localhost)1>
(zraftnode4@localhost)1> 11:48:28.908 [warning] Current leader has failed
(zraftnode4@localhost)1> 11:48:28.908 [warning] Current leader has failed
--------------------------------------------------------------------------------
Commands left: 85
Cluster: [{{3,zraftnode3,zraftnode3@localhost},true},
{{4,zraftnode4,zraftnode4@localhost},true}]
Current value: 0.3302492454705035
Checking values in cluster...{{3,zraftnode3,zraftnode3@localhost}, 1}...(zraftnode4@localhost)1> 11:48:29.929 [info] {zraft,zraftnode4@localhost}: Start for election in term 3 old leader was {zraft,zraftnode1@localhost}.I don't hear anything from it scince {{2015,9,4},{9,48,28}}, elapsed 1002.
(zraftnode4@localhost)1> 11:48:29.933 [info] {zraft,zraftnode4@localhost}: Receive vote true response from {zraft,zraftnode3@localhost}.
(zraftnode4@localhost)1> 11:48:29.934 [info] {zraft,zraftnode4@localhost}: Now is leader in term 3
(zraftnode3@localhost)1> 11:48:29.954 [warning] Leader changed to {zraft,zraftnode4@localhost}
(zraftnode3@localhost)1> 11:48:29.954 [warning] Leader changed to {zraft,zraftnode4@localhost}
(zraftnode3@localhost)1> 11:48:29.955 [warning] Leader changed to {zraft,zraftnode4@localhost}
(zraftnode3@localhost)1> 11:48:29.955 [warning] Leader changed to {zraft,zraftnode4@localhost}
(zraftnode3@localhost)1> 11:48:29.956 [warning] Leader changed to {zraft,zraftnode4@localhost}
(zraftnode3@localhost)1> 11:48:29.956 [warning] Leader changed to {zraft,zraftnode4@localhost}
(zraftnode4@localhost)1> 11:48:29.956 [warning] Leader changed to {zraft,zraftnode4@localhost}
(zraftnode3@localhost)1> 11:48:29.958 [warning] Leader changed to {zraft,zraftnode4@localhost}
(zraftnode4@localhost)1> 11:48:29.958 [warning] Leader changed to {zraft,zraftnode4@localhost}
(zraftnode4@localhost)1> 11:48:29.958 [warning] Leader changed to {zraft,zraftnode4@localhost}
(zraftnode4@localhost)1> 11:48:29.959 [warning] Leader changed to {zraft,zraftnode4@localhost}
(zraftnode3@localhost)1> 11:48:29.961 [warning] Leader changed to {zraft,zraftnode4@localhost}
(zraftnode3@localhost)1> 11:48:29.962 [warning] Leader changed to {zraft,zraftnode4@localhost}
(zraftnode3@localhost)1> 11:48:29.963 [warning] Leader changed to {zraft,zraftnode4@localhost}
** exception exit: {error,no_peer_available}
(controller@lap-51-33)2>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment