eBay / NuRaft

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

typo 'curruent' in src/handle_commit.cxx #533

Closed rockett-m closed 2 months ago

rockett-m commented 2 months ago

Noticed this typo where curruent should be spelled current inside src/handle_commit.cxx in lines 184 and 270. Submitting a PR for this now.

                                       \/------\/
184:    p_db( "commit upto %" PRIu64 ", curruent idx %" PRIu64,
185:          quick_commit_index_.load(), sm_commit_index_.load() );
                                             \/------\/
270:    p_db( "DONE: commit upto %" PRIu64 ", curruent idx %" PRIu64,
271:          quick_commit_index_.load(), sm_commit_index_.load() );

Was using nuraft and found this by looking at my logs: nuraft