File tree 2 files changed +8
-12
lines changed
ydb/core/tx/schemeshard/olap/operations
2 files changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -327,12 +327,10 @@ class TCreateOlapStore: public TSubOperation {
327
327
TEvSchemeShard::EStatus status = NKikimrScheme::StatusAccepted;
328
328
auto result = MakeHolder<TProposeResponse>(status, ui64 (OperationId.GetTxId ()), ui64 (ssId));
329
329
330
- if (context.SS ->IsServerlessDomain (TPath::Init (context.SS ->RootPathId (), context.SS ))) {
331
- if (AppData ()->ColumnShardConfig .GetDisabledOnSchemeShard ()) {
332
- result->SetError (NKikimrScheme::StatusPreconditionFailed,
333
- " OLAP schema operations are not supported" );
334
- return result;
335
- }
330
+ if (AppData ()->ColumnShardConfig .GetDisabledOnSchemeShard ()) {
331
+ result->SetError (NKikimrScheme::StatusPreconditionFailed,
332
+ " OLAP schema operations are not supported" );
333
+ return result;
336
334
}
337
335
338
336
NSchemeShard::TPath parentPath = NSchemeShard::TPath::Resolve (parentPathStr, context.SS );
Original file line number Diff line number Diff line change @@ -582,12 +582,10 @@ class TCreateColumnTable: public TSubOperation {
582
582
TEvSchemeShard::EStatus status = NKikimrScheme::StatusAccepted;
583
583
auto result = MakeHolder<TProposeResponse>(status, ui64 (opTxId), ui64 (ssId));
584
584
585
- if (context.SS ->IsServerlessDomain (TPath::Init (context.SS ->RootPathId (), context.SS ))) {
586
- if (AppData ()->ColumnShardConfig .GetDisabledOnSchemeShard ()) {
587
- result->SetError (NKikimrScheme::StatusPreconditionFailed,
588
- " OLAP schema operations are not supported" );
589
- return result;
590
- }
585
+ if (AppData ()->ColumnShardConfig .GetDisabledOnSchemeShard ()) {
586
+ result->SetError (NKikimrScheme::StatusPreconditionFailed,
587
+ " OLAP schema operations are not supported" );
588
+ return result;
591
589
}
592
590
593
591
if (createDescription.GetSharding ().GetColumnShards ().size ()) {
You can’t perform that action at this time.
0 commit comments