MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / not_leader

Function not_leader

nodedb/src/control/gateway/error_map.rs:151–157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

149 use crate::types::{RequestId, TenantId, VShardId};
150
151 fn not_leader() -> Error {
152 Error::NotLeader {
153 vshard_id: VShardId::new(1),
154 leader_node: 2,
155 leader_addr: "10.0.0.1:9000".into(),
156 }
157 }
158
159 fn deadline() -> Error {
160 Error::DeadlineExceeded {

Callers 5

fromMethod · 0.85
pgwire_not_leaderFunction · 0.85
http_not_leaderFunction · 0.85
resp_not_leaderFunction · 0.85
native_not_leaderFunction · 0.85

Calls

no outgoing calls

Tested by 4

pgwire_not_leaderFunction · 0.68
http_not_leaderFunction · 0.68
resp_not_leaderFunction · 0.68
native_not_leaderFunction · 0.68