会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
stupidstan2019
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
4
5
6
7
8
9
10
11
12
···
24
下一页
2022年12月18日
1)代码量及类图
摘要: 1)17k代码 核心代码看上去只有4k行 2)主要类图
阅读全文
posted @ 2022-12-18 09:31 stupidstan2019
阅读(48)
评论(0)
推荐(0)
2022年12月10日
raft类图及第一个持久化消息流程
摘要: 1)类关系 2)类图 3)时序图
阅读全文
posted @ 2022-12-10 19:26 stupidstan2019
阅读(28)
评论(0)
推荐(0)
2022年12月3日
package io/fs is not in GOROOT
摘要: 【问题】 【解决】
阅读全文
posted @ 2022-12-03 11:25 stupidstan2019
阅读(315)
评论(0)
推荐(0)
goland代理配置
摘要: 【问题描述】 go: github.com/bgentry/speakeasy@v0.1.0: Get "https://proxy.golang.org/github.com/bgentry/speakeasy/@v/v0.1.0.mod": dial tcp 142.251.43.17:443:
阅读全文
posted @ 2022-12-03 11:10 stupidstan2019
阅读(1172)
评论(1)
推荐(0)
2022年11月27日
folly代码量36w行
摘要: 1)总共36w 2)代码分布
阅读全文
posted @ 2022-11-27 23:57 stupidstan2019
阅读(45)
评论(0)
推荐(0)
2022年11月23日
etcd的joint consensus实现
摘要: 【代码笔记】1)toConfChangeSingle变更前voters=(1 2 4 6)变更后voters is (1 2 3),learners_next=(4)代码逻辑outgoing = add 1; add 2; add 4; add 6incoming = remove 1; remov
阅读全文
posted @ 2022-11-23 23:26 stupidstan2019
阅读(73)
评论(0)
推荐(0)
2022年10月5日
raftExample
摘要: 1)主要经过 2)推进commitIndex调用栈
阅读全文
posted @ 2022-10-05 18:13 stupidstan2019
阅读(18)
评论(0)
推荐(0)
2022年10月4日
etcd写流程
摘要: 0)整体结构 1)server->etcdRaft, 处理协程生成msgWithResult 2)etcdRaft模块,从proc取出msgWithResult 调用step驱动状态机 封装成Ready实例 给server发送:readyc <- rd 3)server处理ready rd := <
阅读全文
posted @ 2022-10-04 11:00 stupidstan2019
阅读(57)
评论(0)
推荐(0)
etcd-wal存储
摘要: 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 --e
阅读全文
posted @ 2022-10-04 10:12 stupidstan2019
阅读(58)
评论(0)
推荐(0)
2022年10月2日
etcd源码调试
摘要: 1)gdb curl -L http://127.0.0.1:12380/my-key 2)ide调试 dlv安装 https://www.cnblogs.com/20170722-kong/p/10644487.html go build -gcflags "all=-N -l" -o rafte
阅读全文
posted @ 2022-10-02 00:27 stupidstan2019
阅读(146)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
11
12
···
24
下一页
公告