Skip to content

EOperationKind::WriteTx #976

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 12, 2024
Merged

EOperationKind::WriteTx #976

merged 1 commit into from
Jan 12, 2024

Conversation

azevaykin
Copy link
Collaborator

KIKIMR-20703

@azevaykin azevaykin requested a review from snaury January 12, 2024 15:22
@@ -41,7 +41,6 @@ EExecutionStatus TCheckWriteUnit::Execute(TOperation::TPtr op,
TTransactionContext &,
const TActorContext &ctx)
{
Y_ABORT_UNLESS(op->IsDataTx() || op->IsReadTable());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Тут можно было сделать Y_ABORT_UNLESS(op->IsWriteTx()).

Copy link
Collaborator Author

@azevaykin azevaykin Jan 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ниже в 52 строке есть TWriteOperation* writeOp = TWriteOperation::CastWriteOperation(op); , там внутри есть Y_ABORT_UNLESS(op->IsWriteTx()).

Но могу и тут продублировать.

@azevaykin azevaykin merged commit 5d59f2c into ydb-platform:main Jan 12, 2024
Copy link

github-actions bot commented Jan 12, 2024

Note

This is an automated comment that will be appended during run.

🔴 linux-x86_64-relwithdebinfo: some tests FAILED for commit 54ee5cf.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
59892 50657 0 3 9207 25

🔴 linux-x86_64-release-asan: some tests FAILED for commit 54ee5cf.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
15873 15703 0 24 126 20

This was referenced Jan 15, 2024
@niksaveliev niksaveliev mentioned this pull request Jan 29, 2024
@vitstn vitstn mentioned this pull request Jan 29, 2024
@starlinskiy starlinskiy mentioned this pull request Feb 12, 2024
@vitstn vitstn mentioned this pull request Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants