Commit 4efb289
committed
schemeshard: fix enable_alter_database_create_hive_first mode (ydb-platform#10074)
Storage pools duplication (in memory only) happened at the first database alter (first alter is actually constructs the database) causes StatusInvalidParameter errors for the next alters if they repeat storage pools specification. Ydbcp does exactly that and so databases created via ydbcp are displayed in the webui as having CONFIGURING state instead of RUNNING.
Databases stuck in that state are actually fully functional, but still are not being able to execute some alters until root schemeshard is rebooted.
KIKIMR-10367
YDBOPS-76281 parent 6508540 commit 4efb289
File tree
3 files changed
+358
-156
lines changed- ydb/core/tx/schemeshard
- ut_extsubdomain
- ut_helpers
3 files changed
+358
-156
lines changedLines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
936 | 936 | | |
937 | 937 | | |
938 | 938 | | |
939 | | - | |
| 939 | + | |
940 | 940 | | |
941 | 941 | | |
942 | 942 | | |
943 | 943 | | |
944 | | - | |
| 944 | + | |
945 | 945 | | |
946 | 946 | | |
947 | 947 | | |
948 | 948 | | |
949 | 949 | | |
950 | | - | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
951 | 953 | | |
952 | 954 | | |
953 | | - | |
| 955 | + | |
954 | 956 | | |
955 | 957 | | |
956 | 958 | | |
| |||
0 commit comments