Skip to content

Commit

Permalink
Get rid of pedantic check (ydb-platform#3316)
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberROFL authored Apr 1, 2024
1 parent e0f019d commit d1f5a7a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions ydb/core/tx/datashard/execute_distributed_erase_tx_unit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,12 @@ class TExecuteDistributedEraseTxUnit : public TExecutionUnit {
for (const auto& rs : readSets) {
NKikimrTxDataShard::TDistributedEraseRS body;
Y_ABORT_UNLESS(body.ParseFromArray(rs.Body.data(), rs.Body.size()));

Y_ABORT_UNLESS(presentRows.contains(rs.Origin));
const bool ok = Execute(txc, request, presentRows.at(rs.Origin),
DeserializeBitMap<TDynBitMap>(body.GetConfirmedRows()), writeVersion, op->GetGlobalTxId());
Y_ABORT_UNLESS(ok);

auto confirmedRows = DeserializeBitMap<TDynBitMap>(body.GetConfirmedRows());
if (!Execute(txc, request, presentRows.at(rs.Origin), confirmedRows, writeVersion, op->GetGlobalTxId())) {
return EExecutionStatus::Restart;
}
}
}

Expand Down

0 comments on commit d1f5a7a

Please sign in to comment.