Skip to content

Commit

Permalink
fix #132
Browse files Browse the repository at this point in the history
  • Loading branch information
wanghenshui committed Jul 21, 2024
1 parent 14f3edf commit d0a5927
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 1 deletion.
12 changes: 12 additions & 0 deletions _posts/2017-09-14-googletest-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,18 @@ tags : [gtest, gmock ,c++]

有一个玩转GoogleTest的文章讲的不错,值得花点时间看下


<!-- more -->

## 指定测试捕获catch

```gdb
gdb /path/to/test
catch throw
r --gtest_filter='Test.Testcase' --gmock_verbose=info
bt
```

## 一些使用方法

最近使用googletest,新加了单元测试,就需要判定开关单元测试对原来测试的影响,做个记录
Expand Down
7 changes: 6 additions & 1 deletion _posts/2020-08-02-folly.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ auto rand = folly::Random::rand32(min, max, rng);

没啥说的

---
- folly::IndexedMemPool

小对象池子 https://github.com/facebook/folly/blob/main/folly/IndexedMemPool.h


- folly::AccessSpreader

暗示这个地址是这个线程独享的,降低竞争
33 changes: 33 additions & 0 deletions _posts/2021-06-08-blog-review-7.md
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,39 @@ https://github.com/DigitalChinaOpenSource/TiDB-for-PostgreSQL

https://github.com/baidu/braft.git braft的文档值得读一下


braft todo

braft

https://wine93.gitbook.io/learn-raft/ch06/change_leader

curve https://my.oschina.net/u/4565392/blog/5519430
https://zhuanlan.zhihu.com/p/333884273
https://zhuanlan.zhihu.com/p/505366980
https://zhuanlan.zhihu.com/p/336674195
https://yriuns.github.io/2022/01/08/braft-in-action/

https://zhuanlan.zhihu.com/p/169840204

https://zhuanlan.zhihu.com/p/169904153

把braft 知乎文章看一遍

https://github.sheincorp.cn/baidu/braft/issues/ 332 有bug?

https://steinslab.io/archives/2605 metric
https://luobuda.github.io/2023/01/07/Work-Review/
https://luobuda.github.io/2022/02/15/braft-snapshot%E5%AE%9E%E7%8E%B0/
https://blog.csdn.net/qq_35102066/article/details/122832550
问题,如果关闭周期性snapshot,什么时候truncate日志呢?无限膨胀?

https://zhuanlan.zhihu.com/p/690232462
https://zhuanlan.zhihu.com/p/639480562
https://github.com//kasshu/braft-docs/blob/master/cn/Braft%20detailed%20explanation.md

https://illx10000.github.io/2018/12/29/6.html brpc iobuf

https://github.com/afiodorov/radixmmap 用c++实现一下

https://github.com/stateright/stateright 一致性教研工具,原理是什么?
Expand Down

0 comments on commit d0a5927

Please sign in to comment.