0)结构
参考https://blog.51cto.com/feishujun/5516111
关注2.2和2.3
1)存储目录
2)wal日志dump
根目录
go run ./tools/etcd-dump-logs
获取一个锁三条日志
./bin/etcdctl lock mutex2 --endpoints=192.168.0.62:2379
3)逻辑
代码目录:server/storage/wal
https://jiajunhuang.com/articles/2018_11_24-etcd_source_code_analysis_wal.md.html
a)刷盘协程调用fdatasync
b)通知的数据结构
v3.Ready数据结构
c)怎么给这个协程?
标签:存储,wal,协程,https,dump,etcd From: https://www.cnblogs.com/jiangshifu/p/16753320.html