Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/baidu/braft
/ functions
Functions
1,359 in github.com/baidu/braft
⨍
Functions
1,359
◇
Types & classes
311
↓ 9 callers
Method
get_file_meta
src/braft/snapshot.cpp:147
↓ 9 callers
Method
get_value
example/atomic/server.cpp:317
↓ 9 callers
Method
is_busy
src/braft/node.h:365
↓ 9 callers
Method
is_leader_lease_valid
src/braft/node.cpp:3343
↓ 9 callers
Method
name
test/memory_file_system_adaptor.h:31
↓ 9 callers
Method
readonly
src/braft/node.cpp:3298
↓ 9 callers
Method
redirect
example/atomic/server.cpp:191
↓ 9 callers
Method
rename
test/memory_file_system_adaptor.h:169
↓ 9 callers
Method
truncate_prefix
src/braft/log.cpp:826
↓ 8 callers
Method
create_directory
test/memory_file_system_adaptor.h:231
↓ 8 callers
Method
entry
src/braft/fsm_caller.h:47
↓ 8 callers
Method
generate_uri_for_copy
test/test_fsm_caller.cpp:176
↓ 8 callers
Function
is_active_state
Return true if |s| indicates the node is active
src/braft/raft.h:294
↓ 8 callers
Method
open
src/braft/snapshot.cpp:669
↓ 8 callers
Method
set_snapshot_throttle
src/braft/snapshot.cpp:713
↓ 8 callers
Method
size
src/braft/configuration.h:171
↓ 7 callers
Function
NewCallback
See Closure.
src/braft/closure_helper.h:719
↓ 7 callers
Method
add
src/braft/node_manager.cpp:115
↓ 7 callers
Function
append_entry
test/test_log_manager.cpp:509
↓ 7 callers
Method
copy_to_file
src/braft/remote_file_copier.cpp:103
↓ 7 callers
Method
delete_file
src/braft/file_system_adaptor.cpp:191
↓ 7 callers
Function
file_pread
src/braft/util.cpp:286
↓ 7 callers
Method
get_term
src/braft/log.cpp:504
↓ 7 callers
Method
index
src/braft/raft.cpp:256
↓ 7 callers
Method
is_leader
test/util.h:81
↓ 7 callers
Method
next
------------- Iterator
src/braft/raft.cpp:246
↓ 7 callers
Function
node_id
src/braft/node.h:98
↓ 7 callers
Method
read_committed_user_log
src/braft/node.cpp:2597
↓ 7 callers
Method
return_unused_throughput
src/braft/snapshot_throttle.cpp:116
↓ 7 callers
Method
set_snapshot
Notify the log manager about the latest snapshot, which indicates the logs which can be safely truncated.
test/test_snapshot_executor.cpp:68
↓ 7 callers
Method
start
test/test_cli.cpp:39
↓ 7 callers
Method
unlink
src/braft/log.cpp:567
↓ 7 callers
Method
version
src/braft/node.h:457
↓ 7 callers
Method
wait
src/braft/log_manager.cpp:836
↓ 6 callers
Method
_destroy
src/braft/replicator.cpp:1231
↓ 6 callers
Method
add_file
test/test_fsm_caller.cpp:197
↓ 6 callers
Method
check_consistency
src/braft/log_manager.cpp:947
↓ 6 callers
Function
crc32
src/braft/util.h:209
↓ 6 callers
Method
fd
example/block/server.cpp:216
↓ 6 callers
Method
get_path
test/test_fsm_caller.cpp:196
↓ 6 callers
Method
init
src/braft/node.cpp:453
↓ 6 callers
Function
parse_uri
src/braft/storage.h:68
↓ 6 callers
Function
refresh_leader
src/braft/route_table.cpp:166
↓ 6 callers
Function
select_leader
src/braft/route_table.cpp:214
↓ 6 callers
Method
type
src/braft/raft.h:67
↓ 6 callers
Method
valid
src/braft/raft.cpp:252
↓ 5 callers
Method
add_file
src/braft/snapshot.cpp:43
↓ 5 callers
Function
add_peer
tools/braft_cli.cpp:40
↓ 5 callers
Function
change_peers
tools/braft_cli.cpp:90
↓ 5 callers
Method
clean
test/util.h:319
↓ 5 callers
Method
copy_from
Copy snapshot from uri and open it as a SnapshotReader
test/test_snapshot_executor.cpp:171
↓ 5 callers
Method
finish_one_task
src/braft/snapshot_throttle.cpp:102
↓ 5 callers
Function
get
example/atomic/test.cpp:32
↓ 5 callers
Function
global_init_once_or_die
Non-static for unit test
src/braft/raft.cpp:82
↓ 5 callers
Method
has_meta
src/braft/snapshot.h:45
↓ 5 callers
Function
meta_storage_extension
src/braft/storage.h:363
↓ 5 callers
Method
on_leader_start
src/braft/raft.cpp:294
↓ 5 callers
Function
raft_sync_meta
src/braft/fsync.h:42
↓ 5 callers
Method
reset
test/test_log_manager.cpp:54
↓ 5 callers
Method
reset_election_timeout_ms
src/braft/node.cpp:1230
↓ 5 callers
Function
reset_peer
tools/braft_cli.cpp:115
↓ 5 callers
Method
save
src/braft/raft_meta.cpp:528
↓ 5 callers
Method
seek
Seek to a given offset when there is hole NOTICE: Only seek to bigger offset
src/braft/file_system_adaptor.h:261
↓ 5 callers
Method
set_on_leader_start_closure
test/util.h:64
↓ 5 callers
Method
stable
src/braft/configuration_manager.h:39
↓ 5 callers
Method
write
test/memory_file_system_adaptor.h:58
↓ 4 callers
Method
_reset_next_index
src/braft/replicator.cpp:1065
↓ 4 callers
Method
_send_empty_entries
src/braft/replicator.cpp:543
↓ 4 callers
Method
append_pending_task
src/braft/ballot_box.cpp:121
↓ 4 callers
Function
check_file_exist
test/test_snapshot.cpp:464
↓ 4 callers
Method
counter_percentile
src/braft/util.cpp:212
↓ 4 callers
Method
create_directory
src/braft/file_system_adaptor.cpp:204
↓ 4 callers
Function
file_pwrite
src/braft/util.cpp:309
↓ 4 callers
Function
file_service
src/braft/file_service.h:48
↓ 4 callers
Function
gc_dir
src/braft/storage.h:93
↓ 4 callers
Method
generate_uri_for_copy
Generate uri for other peers to copy this snapshot. Return an empty string if some error has occcured
test/test_snapshot_executor.cpp:97
↓ 4 callers
Function
get_leader
src/braft/cli.cpp:27
↓ 4 callers
Method
init
src/braft/log.cpp:658
↓ 4 callers
Function
is_leader
src/braft/node.h:107
↓ 4 callers
Method
join
test/test_fsm_caller.cpp:90
↓ 4 callers
Method
load_meta
test/test_fsm_caller.cpp:180
↓ 4 callers
Function
log_storage_extension
src/braft/storage.h:359
↓ 4 callers
Method
next
test/memory_file_system_adaptor.h:23
↓ 4 callers
Method
on_error
src/braft/node.cpp:1276
↓ 4 callers
Method
on_leader_stop
src/braft/raft.cpp:295
↓ 4 callers
Method
qps
src/braft/util.cpp:130
↓ 4 callers
Method
remove_waiter
src/braft/log_manager.cpp:872
↓ 4 callers
Method
reset_peers
src/braft/node.cpp:863
↓ 4 callers
Function
run_closure_in_bthread_nosig
src/braft/util.cpp:272
↓ 4 callers
Method
set_applied_id
src/braft/log_manager.cpp:812
↓ 4 callers
Method
sync
src/braft/log.cpp:432
↓ 4 callers
Method
sync
src/braft/snapshot.cpp:270
↓ 4 callers
Function
update_configuration
src/braft/route_table.cpp:135
↓ 4 callers
Method
wait
src/braft/raft_meta.cpp:259
↓ 3 callers
Method
Run
src/braft/snapshot_executor.cpp:327
↓ 3 callers
Function
_min_flying_index
src/braft/replicator.h:164
↓ 3 callers
Method
_send_entries
src/braft/replicator.cpp:625
↓ 3 callers
Method
_send_timeout_now
src/braft/replicator.cpp:1076
↓ 3 callers
Method
_start_heartbeat_timer
src/braft/replicator.cpp:950
↓ 3 callers
Function
caculate_check_time_us
src/braft/snapshot_throttle.h:78
← previous
next →
101–200 of 1,359, ranked by callers