ChenSammi commented on PR #561:
URL: https://github.com/apache/ratis/pull/561#issuecomment-1168427620

   > Thanks for the great work @ChenSammi, it looks similar to the issue from 
[Streaming 
Raft](https://pkg.go.dev/github.com/influxdb/influxdb/raft?utm_source=godoc#hdr-Streaming_Raft)
 of InfluxDB.
   > 
   > > Another issue with AppendEntries is that it combines the log replication 
with the heartbeat mechanism. This is beneficial in that it causes log 
replication issues such as disk write errors to cause heartbeat errors but it 
also has the problem that replicating too many log entries will cause a 
heartbeat to be missed.
   
   Yes.  In a heavy workload situation, combined heartbeat and data will make 
heartbeat response delay enough time, so that leader will step down because of 
lost majority of heartbeat.  We see this in the stress performance test with 
async write.  While with streaming write, the issue may be not that obvious. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to