会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
stupidstan2019
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
4
5
6
7
8
9
10
11
12
···
23
下一页
2022年12月3日
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
阅读(1161)
评论(1)
推荐(0)
2022年11月27日
folly代码量36w行
摘要: 1)总共36w 2)代码分布
阅读全文
posted @ 2022-11-27 23:57 stupidstan2019
阅读(43)
评论(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
阅读(63)
评论(0)
推荐(0)
2022年10月5日
raftExample
摘要: 1)主要经过 2)推进commitIndex调用栈
阅读全文
posted @ 2022-10-05 18:13 stupidstan2019
阅读(13)
评论(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
阅读(48)
评论(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
阅读(55)
评论(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
阅读(141)
评论(0)
推荐(0)
2022年10月1日
etcd编译raftexample
摘要: 文档参见 https://github.com/etcd-io/etcd/tree/main/contrib/raftexample 1)代码下载 在gopath目录 /root/go/src/go.etcd.io 2)go build -o raftexample cd /root/go/src/
阅读全文
posted @ 2022-10-01 23:54 stupidstan2019
阅读(39)
评论(0)
推荐(0)
centos环境配置
摘要: /etc/sysconfig/network-scripts/ifcfg-enp0s3 TYPE=EthernetPROXY_METHOD=noneBROWSER_ONLY=noBOOTPROTO=staticDEFROUTE=yesIPV4_FAILURE_FATAL=noIPV6INIT=yes
阅读全文
posted @ 2022-10-01 10:54 stupidstan2019
阅读(31)
评论(0)
推荐(0)
2022年9月18日
函数模板实现
摘要: 参考https://www.programminghunter.com/article/30912114918/ 2次编译
阅读全文
posted @ 2022-09-18 19:27 stupidstan2019
阅读(6)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
11
12
···
23
下一页
公告