eBay / NuRaft

C++ implementation of Raft core logic as a replication library
Apache License 2.0
1.02k stars 241 forks source link

New API `get_first_log_idx` & `get_first_log_term` #381

Closed JackyWoo closed 2 years ago

JackyWoo commented 2 years ago

Usage

I want to get Raft log informations, such as first_log_idx, first_log_term, last_log_idx, last_committed_log_idx, last_snapshot_idx etc.

PS: We can calculate log count with first_log_idx and last_log_idx.

JackyWoo commented 2 years ago

Thanks.