Skip to content

The PQ tablet did not receive a TEvReadSet #20020

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

Conversation

Alek5andr-Kotov
Copy link
Collaborator

@Alek5andr-Kotov Alek5andr-Kotov commented Jun 23, 2025

Changelog entry

There was a T1 transaction in the EXECUTED queue. She is waiting for the signal to continue working. The T2 transaction was queued and its state was saved to disk. Transaction T1 was running at that moment. As a result, the T2 transaction continued to run when its state had not yet been saved to disk. She sent TEvReadSetAck to her "colleagues" and they deleted the T2 transaction. If the tablet restarts at this moment, the T2 transaction will be in the PLANNED state and will never receive a TEvReadSet from "colleagues".

Before continuing to execute a transaction, you need to make sure that its state is saved to disk. Added a check.

Changelog category

  • Bugfix

Description for reviewers

...

@Alek5andr-Kotov Alek5andr-Kotov requested a review from a team as a code owner June 23, 2025 04:39
Copy link

github-actions bot commented Jun 23, 2025

2025-06-23 04:42:59 UTC Pre-commit check for f4ea489 has started.
2025-06-23 04:46:04 UTC Build linux-x86_64-release-asan is running...
🟢 2025-06-23 05:42:58 UTC Build successful.
🔴 2025-06-23 05:43:12 UTC Test run completed, no test results found for commit 3b063e7. Please check test log.
🟢 2025-06-23 05:43:51 UTC ydbd size 5.6 GiB changed* by -4.4 KiB, which is <= 0 Bytes vs stable-24-4-4-hotfix: OK

ydbd size dash stable-24-4-4-hotfix: 1612018 merge: f4ea489 diff diff %
ydbd size 6 028 376 000 Bytes 6 028 371 472 Bytes -4.4 KiB -0.000%
ydbd stripped size 1 508 610 048 Bytes 1 508 609 984 Bytes -64 Bytes -0.000%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

Copy link

github-actions bot commented Jun 23, 2025

2025-06-23 04:43:19 UTC Pre-commit check for f4ea489 has started.
2025-06-23 04:46:24 UTC Build linux-x86_64-relwithdebinfo is running...
🟢 2025-06-23 05:57:58 UTC Build successful.
🔴 2025-06-23 05:58:16 UTC Test run completed, no test results found for commit 3b063e7. Please check test log.
🟢 2025-06-23 05:59:00 UTC ydbd size 8.3 GiB changed* by +15.1 KiB, which is < 100.0 KiB vs stable-24-4-4-hotfix: OK

ydbd size dash stable-24-4-4-hotfix: 1612018 merge: f4ea489 diff diff %
ydbd size 8 899 360 408 Bytes 8 899 375 880 Bytes +15.1 KiB +0.000%
ydbd stripped size 485 054 344 Bytes 485 054 344 Bytes 0 Bytes 0.000%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@Alek5andr-Kotov Alek5andr-Kotov merged commit 6c6a00b into ydb-platform:stable-24-4-4-hotfix Jun 23, 2025
6 of 10 checks passed
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.

3 participants