Repository: kudu Updated Branches: refs/heads/master f304dd32f -> 31f4589ba
[consensus] fixed typos in consensus flags tagging Change-Id: I39fb954313368c8f612c986ab13dd47e8c948998 Reviewed-on: http://gerrit.cloudera.org:8080/6580 Reviewed-by: Adar Dembo <[email protected]> Tested-by: Kudu Jenkins Project: http://git-wip-us.apache.org/repos/asf/kudu/repo Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/31f4589b Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/31f4589b Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/31f4589b Branch: refs/heads/master Commit: 31f4589bab563c853b1677f8e06096265b0110f1 Parents: f304dd3 Author: Alexey Serbin <[email protected]> Authored: Thu Apr 6 19:21:41 2017 -0700 Committer: Alexey Serbin <[email protected]> Committed: Fri Apr 7 20:15:48 2017 +0000 ---------------------------------------------------------------------- src/kudu/consensus/consensus_peers.cc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kudu/blob/31f4589b/src/kudu/consensus/consensus_peers.cc ---------------------------------------------------------------------- diff --git a/src/kudu/consensus/consensus_peers.cc b/src/kudu/consensus/consensus_peers.cc index cabcd32..ce69ee6 100644 --- a/src/kudu/consensus/consensus_peers.cc +++ b/src/kudu/consensus/consensus_peers.cc @@ -51,19 +51,17 @@ TAG_FLAG(consensus_rpc_timeout_ms, advanced); DEFINE_int32(raft_get_node_instance_timeout_ms, 30000, "Timeout for retrieving node instance data over RPC."); -TAG_FLAG(consensus_rpc_timeout_ms, hidden); - -DECLARE_int32(raft_heartbeat_interval_ms); +TAG_FLAG(raft_get_node_instance_timeout_ms, hidden); DEFINE_double(fault_crash_on_leader_request_fraction, 0.0, "Fraction of the time when the leader will crash just before sending an " "UpdateConsensus RPC. (For testing only!)"); +TAG_FLAG(fault_crash_on_leader_request_fraction, unsafe); DEFINE_double(fault_crash_after_leader_request_fraction, 0.0, "Fraction of the time when the leader will crash on getting a response for an " "UpdateConsensus RPC. (For testing only!)"); - -TAG_FLAG(fault_crash_on_leader_request_fraction, unsafe); +TAG_FLAG(fault_crash_after_leader_request_fraction, unsafe); // Allow for disabling Tablet Copy in unit tests where we want to test @@ -74,6 +72,9 @@ DEFINE_bool(enable_tablet_copy, true, "replica. For testing purposes only."); TAG_FLAG(enable_tablet_copy, unsafe); +DECLARE_int32(raft_heartbeat_interval_ms); + + namespace kudu { namespace consensus {
