Skip to content

Commit f9df583

Browse files
committed
conflict
1 parent f9594e4 commit f9df583

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/replica/replica_2pc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ void replica::on_client_write(dsn::message_ex *request, bool ignore_throttling)
201201
CHECK(_primary_states.pc.__isset.hp_secondaries,
202202
"The primary partition_configuration must be normalized before using it");
203203
const auto &secondaries = _primary_states.pc.hp_secondaries;
204-
if (static_cast<int32_t>(_primary_states.pc.hp_secondaries.size()) + 1 <
204+
if (static_cast<int32_t>(secondaries.size()) + 1 <
205205
_options->app_mutation_2pc_min_replica_count(_app_info.max_replica_count)) {
206206
response_client_write(request, ERR_NOT_ENOUGH_MEMBER);
207207
return;

0 commit comments

Comments
 (0)