We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 507058d commit f9594e4Copy full SHA for f9594e4
src/replica/replica_config.cpp
@@ -281,6 +281,7 @@ void replica::downgrade_to_secondary_on_primary(configuration_update_request &pr
281
}
282
283
CHECK_EQ(proposal.config.pid, _primary_states.pc.pid);
284
+ CHECK_EQ(proposal.config.primary, _primary_states.pc.primary);
285
dsn::host_port primary;
286
GET_HOST_PORT(proposal.config, primary, primary);
287
// The local host_port type 'hp_primary' field must be set.
0 commit comments