Skip to content

Commit f9594e4

Browse files
committed
cr1
1 parent 507058d commit f9594e4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/replica/replica_config.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@ void replica::downgrade_to_secondary_on_primary(configuration_update_request &pr
281281
}
282282

283283
CHECK_EQ(proposal.config.pid, _primary_states.pc.pid);
284+
CHECK_EQ(proposal.config.primary, _primary_states.pc.primary);
284285
dsn::host_port primary;
285286
GET_HOST_PORT(proposal.config, primary, primary);
286287
// The local host_port type 'hp_primary' field must be set.

0 commit comments

Comments
 (0)