Braft Source Code Analysis

Contents
Introduction
braft [1] is developed by Baidu, and it’s an industrial-grade C++ implementation of RAFT consensus algorithm [2] and replicated state machine based on brpc [3]. braft is designed and implemented for scenarios demanding for high workload and low overhead of latency, with the consideration for easy-to-understand concepts.
Source Code Analysis
EINVAL: Invalid Argument.
what is pending in braft??
_pending_meta_queue what is this?
closure_queue for what?
butil??
two conf?
grant is to return a hint?
builtin service for what?
Tip
If you have any questions or find any errors, feel free to interact in the comments section or email me!
Included in Collection・CFT Consensus 2