摘要: 1)leader_apply流程图 https://github.com/kasshu/braft-docs/blob/master/images/braft_leader_apply.png 相比follower,leader写时,多把response放在内存里 2)braft使用方法 https 阅读全文
posted @ 2023-02-20 23:52 stupidstan2019 阅读(56) 评论(2) 推荐(0) 编辑
摘要: 编译问题 1)Fail to find brpc 解法:./CMakeLists.txt,7行添加 set(BRPC_INCLUDE_PATH "/root/brpc/build/output/include/") set(BRPC_LIB "/root/brpc/build/output/lib/ 阅读全文
posted @ 2023-02-20 22:32 stupidstan2019 阅读(32) 评论(0) 推荐(0) 编辑
摘要: https://stackoverflow.com/questions/2517190/how-do-i-force-git-to-use-lf-instead-of-crlf-under-windows 第二个回答 阅读全文
posted @ 2023-02-20 21:58 stupidstan2019 阅读(73) 评论(0) 推荐(0) 编辑