Description
The orderers show no Raft leader, see attached logs (orderer2nd-ordererorg-7.log and orderer3rd-ordererorg-7.log) and PTE log (FAB-13760-ch3-th2-move-0213170638.log)
[[36m2019-02-13 22:09:29.990 UTC [policies] Evaluate -> DEBU 4d724d[[0m == Done Evaluating *policies.implicitMetaPolicy Policy /Channel/Application/Writers
[[36m2019-02-13 22:09:29.990 UTC [policies] Evaluate -> DEBU 4d724e[[0m Signature set satisfies policy /Channel/Writers
[[36m2019-02-13 22:09:29.990 UTC [policies] Evaluate -> DEBU 4d724f[[0m == Done Evaluating *policies.implicitMetaPolicy Policy /Channel/Writers
[[33m2019-02-13 22:09:29.990 UTC [orderer.common.broadcast] ProcessMessage -> WARN 4d7250[[0m [channel: testorgschannel3] Rejecting broadcast of normal message from 10.188.208.4:13293 with SERVICE_UNAVAILABLE: rejected by Order: no Raft leader
[[36m2019-02-13 22:09:29.990 UTC [orderer.common.server] func1 -> DEBU 4d7251[[0m Closing Broadcast stream
[[34m2019-02-13 22:09:29.990 UTC [comm.grpc.server] 1 -> INFO 4d7252[[0m streaming call completed grpc.service=orderer.AtomicBroadcast grpc.method=Broadcast grpc.peer_address=10.188.208.4:13293 grpc.code=OK grpc.call_duration=1.111798ms
[[36m2019-02-13 22:09:29.992 UTC [orderer.consensus.etcdraft] consensusSent -> DEBU 4d7253[[0m Sending msg of 28 bytes to 1 on channel testorgschannel15 took 3.666µs
[[36m2019-02-13 22:09:29.992 UTC [orderer.consensus.etcdraft] consensusSent -> DEBU 4d7254[[0m Sending msg of 28 bytes to 3 on channel testorgschannel15 took 3.106µs
PTE log shows:
[[32minfo[[39m: [PTE 2 main]: stdout: [[32minfo[[39m: [PTE 2 exec]: [1550095769214 Nid:chan:org:id=0:testorgschannel3:org2:0 invoke_move_dist_evtBlock] failed to sendTransaction status:
{“status”:”SERVICE_UNAVAILABLE“,”info”:”no Raft leader“}[[32minfo[[39m: [PTE 2 main]: stdout: [[32minfo[[39m: [PTE 2 exec]: [1550095769227 Nid:chan:org:id=0:testorgschannel3:org2:1 invoke_move_dist_evtBlock] failed to sendTransaction status:
{“status”:”SERVICE_UNAVAILABLE“,”info”:”no Raft leader“}
These logs were also seen.
2019-02-13 22:09:31.551014 W | wal: sync duration of 2.087949482s, expected less than 1s
2019-02-13 22:09:31.552566 W | wal: sync duration of 7.750080345s, expected less than 1s
2019-02-13 22:09:31.558517 W | wal: sync duration of 7.743392857s, expected less than 1s
I understand that any orderer in a channel would start a new election term if it does not receive any heartbeats from the leader of the channel. With transactions in flight, an orderer leader change can cause transactions to be dropped, and also other transactions to be NACKed.
We have some questions. Please help us document what happened: