Skip to content

Commit 7586cde

Browse files
committed
rename
1 parent 7d3ba05 commit 7586cde

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ydb/core/persqueue/partition.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2419,10 +2419,10 @@ TPartition::EProcessResult TPartition::BeginTransaction(const TEvPQ::TEvTxCalcPr
24192419
return EProcessResult::Blocked;
24202420
}
24212421

2422-
auto [error, real] = ValidatePartitionOperation(operation);
2422+
auto [error, needCheckConsumer] = ValidatePartitionOperation(operation);
24232423
result = error.empty();
24242424

2425-
if (real) {
2425+
if (needCheckConsumer) {
24262426
if (!result) {
24272427
bool isAffectedConsumer = AffectedUsers.contains(consumer);
24282428

@@ -2929,7 +2929,7 @@ TPartition::EProcessResult TPartition::PreProcessImmediateTx(const NKikimrPQ::TE
29292929
return EProcessResult::ContinueDrop;
29302930
}
29312931

2932-
auto [error, real] = ValidatePartitionOperation(operation);
2932+
auto [error, needCheckConsumer] = ValidatePartitionOperation(operation);
29332933
if (!error.empty()) {
29342934
ScheduleReplyPropose(tx,
29352935
NKikimrPQ::TEvProposeTransactionResult::BAD_REQUEST,
@@ -2938,7 +2938,7 @@ TPartition::EProcessResult TPartition::PreProcessImmediateTx(const NKikimrPQ::TE
29382938
return EProcessResult::ContinueDrop;
29392939
}
29402940

2941-
if (real) {
2941+
if (needCheckConsumer) {
29422942
consumers.insert(user);
29432943
}
29442944
}

0 commit comments

Comments
 (0)