Skip to content

Conversation

@ijon
Copy link
Collaborator

@ijon ijon commented Sep 13, 2024

merge 5c36245(#9157), ...(#9198) from main

KIKIMR-21965

  • enforce creation of TAlterExtSubDomain operations only through CreateCompatibleAlterExtSubDomain() to ensure all proper state checking
  • fix TAlterExtSubDomain compatibility with ESchemeOpAlterSubDomain

Changelog category

  • Not for changelog

…db-platform#9157)

KIKIMR-21965

Enforce creation of `TAlterExtSubDomain` operations only through `CreateCompatibleAlterExtSubDomain()` to ensure all proper state checking.

### Changelog category

* Not for changelog
…ubDomain

TAlterExtSubDomain suboperation should be able accept ESchemeOpAlterSubDomain
operation type.

This is special compatibility case for those old subdomains that
went through migration to a separate tenants at some time.
Console tablet holds records about types of the subdomains but they hadn't been
updated at the time of migration. So Console still thinks that old subdomains
are plain subdomains whereas they had been migrated to the extsubdomains.
And Console tablet is the main source of the subdomains alters.
This compatibility case should be upholded until Console records will be fixed.

KIKIMR-21965
@github-actions
Copy link

github-actions bot commented Sep 13, 2024

2024-09-13 09:26:21 UTC Pre-commit check for 9f4545a has started.
2024-09-13 09:28:54 UTC Build linux-x86_64-release-clang14 is running...
🟢 2024-09-13 09:35:32 UTC Build successful.

@github-actions
Copy link

github-actions bot commented Sep 13, 2024

2024-09-13 09:26:32 UTC Pre-commit check for 9f4545a has started.
2024-09-13 09:29:01 UTC Build linux-x86_64-relwithdebinfo is running...
🟢 2024-09-13 10:05:48 UTC Build successful.
2024-09-13 10:06:02 UTC Tests are running...
🔴 2024-09-13 11:25:57 UTC Some tests failed, follow the links below.

Test history | Test log

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
14214 12878 0 5 1300 31

🟢 2024-09-13 11:26:40 UTC ydbd size 8.2 GiB changed* by +9.9 KiB, which is < 100.0 KiB vs stable-24-3-9-hotfix: OK

ydbd size dash stable-24-3-9-hotfix: d50240f merge: 9f4545a diff diff %
ydbd size 8 761 170 656 Bytes 8 761 180 752 Bytes +9.9 KiB +0.000%
ydbd stripped size 479 010 888 Bytes 479 010 888 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

@github-actions
Copy link

github-actions bot commented Sep 13, 2024

2024-09-13 09:26:59 UTC Pre-commit check for 9f4545a has started.
2024-09-13 09:30:13 UTC Build linux-x86_64-release-asan is running...
🟢 2024-09-13 09:52:12 UTC Build successful.
2024-09-13 09:52:28 UTC Tests are running...
🔴 2024-09-13 11:57:30 UTC Some tests failed, follow the links below.

Test history | Test log

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
9917 9844 0 16 27 30

🟢 2024-09-13 11:58:08 UTC ydbd size 5.5 GiB changed* by +8.1 KiB, which is < 100.0 KiB vs stable-24-3-9-hotfix: OK

ydbd size dash stable-24-3-9-hotfix: d50240f merge: 9f4545a diff diff %
ydbd size 5 934 801 008 Bytes 5 934 809 288 Bytes +8.1 KiB +0.000%
ydbd stripped size 1 487 910 944 Bytes 1 487 912 480 Bytes +1.5 KiB +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

@ijon ijon linked an issue Sep 13, 2024 that may be closed by this pull request
@ijon ijon changed the title 24-3-9-hotfix: schemeshard: fix crash on concurrent alter-extsubdomain 24-3-9-hotfix: schemeshard: fix crash on concurrent alter-extsubdomains Sep 13, 2024
@ijon ijon merged commit bce4f3a into ydb-platform:stable-24-3-9-hotfix Sep 13, 2024
@ijon ijon deleted the merge/24-3-9-hotfix/fix-schemeshard-crash-on-alterextsubdomain branch September 13, 2024 12:19
@StekPerepolnen StekPerepolnen mentioned this pull request Jan 9, 2026
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.

schemeshard crash on concurrent alter-{ext,}subdomains

2 participants