Skip to content

Schema transaction may hang in PQ tablet #15070

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

Closed
pixcc opened this issue Feb 26, 2025 · 0 comments
Closed

Schema transaction may hang in PQ tablet #15070

pixcc opened this issue Feb 26, 2025 · 0 comments
Assignees

Comments

@pixcc
Copy link
Member

pixcc commented Feb 26, 2025

  1. PQ tablet sends a message to SchemeShard that the schema transaction was successfully executed
  2. PQ tablet does not have time to write to disk that it has executed the transaction and restarts
  3. After the restart, PQ tablet continues to execute the transaction, but it hangs because the event from the partition actor is lost.

As a result, subsequent transactions hang as well.

This is reproduced in a test with reboots that sends two consecutive transactions - creating a topic and adding a consumer to the created topic.

#14780 (comment)

With the changes from pull-request #14780, the following test falls down

./ya make -ttt --build "relwithdebinfo" -F 'TImportWithRebootsTests::ShouldSucceedOnSingleChangefeed' ydb/core/tx/schemeshard/ut_restore
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

No branches or pull requests

2 participants