写入 etcd v3 基准测试中的所有成员

Writing to all members in etcd v3 benchmark

下面是用来benchmark"write to all members".

# write to all members
benchmark --endpoints=${HOST_1},${HOST_2},${HOST_3} --conns=100 --clients=1000
put --key-size=8 --sequential-keys --total=100000 --val-size=256

我的理解是只有leader监听写请求。那么如何才能写入 etcd 集群的所有成员呢?

辅助节点只是将它们收到的写入请求转发给领导者。