上一页 1 2 3 4 5 6 7 8 ··· 24 下一页
摘要: 【代码地址】 https://www.postgresql.org/message-id/CAGBW59f9q2Y4v-B3D8gje3xUsWz2Z-WaK9wYx4%3DhCY1zN%3D7%2BBQ%40mail.gmail.com 【修改之后】 根目录ant编译 【执行】 【代码主要逻辑】 阅读全文
posted @ 2023-07-02 11:00 stupidstan2019 阅读(54) 评论(0) 推荐(0)
摘要: 插入和删除基本都是0.1us 测试10w条数据 // // // unordered_map::emplace #include <iostream> #include <string> #include <unordered_map> #include "sys/time.h" #include 阅读全文
posted @ 2023-06-22 11:41 stupidstan2019 阅读(39) 评论(0) 推荐(0)
摘要: 占坑todo 阅读全文
posted @ 2023-06-18 20:02 stupidstan2019 阅读(31) 评论(0) 推荐(0)
摘要: 【调用栈】 【代码】 【glibc2.17和2.18性能的讨论】 https://sourceware.org/bugzilla/show_bug.cgi?id=24872 阅读全文
posted @ 2023-06-18 20:01 stupidstan2019 阅读(186) 评论(1) 推荐(0)
摘要: 【参考】 https://blog.csdn.net/qq_40859492/article/details/124428555 【主要原理】 1)写EntryConfChangeV2 2)apply时,进入联合共识阶段,用Cold_new决策,创建一个空EntryConfChangeV2日志Ent 阅读全文
posted @ 2023-06-17 17:25 stupidstan2019 阅读(14) 评论(0) 推荐(0)
摘要: 【用例内容】 【主要逻辑】 applyConfChange的时候 1)通过之前的changer类做检查 2)替换cfg和prs为新的值 阅读全文
posted @ 2023-06-17 16:59 stupidstan2019 阅读(16) 评论(0) 推荐(0)
摘要: 【leave-joint处理前】 【leave-joint处理结果】 voters=(2)&&(1) learners_next=(1)处理后 voters=(2) learners=(1)【逻辑】 阅读全文
posted @ 2023-06-17 15:50 stupidstan2019 阅读(13) 评论(0) 推荐(0)
摘要: 【时序】 【疑问1--为什么voters是3和1】 删除1,只删incoming 【疑问2--为什么learners_next是1】 如果outgoing里有,则加入learner_next 阅读全文
posted @ 2023-06-17 12:28 stupidstan2019 阅读(18) 评论(0) 推荐(0)
摘要: 【主要时序】 【类图】 阅读全文
posted @ 2023-06-17 12:05 stupidstan2019 阅读(9) 评论(0) 推荐(0)
摘要: 【转载】 https://www.openeuler.org/zh/blog/wangshuo/Linux_Futex_Principle_Analysis/Linux_Futex_Principle_Analysis.html https://zhuanlan.zhihu.com/p/402374 阅读全文
posted @ 2023-06-10 11:35 stupidstan2019 阅读(77) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 24 下一页