Skip to content

Commit

Permalink
fix paths
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislav-shchetinin committed Feb 19, 2025
1 parent f50eccb commit 76b50eb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 18 deletions.
13 changes: 0 additions & 13 deletions ydb/core/tx/schemeshard/schemeshard_import__create.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1061,10 +1061,6 @@ struct TSchemeShard::TImport::TTxProgress: public TSchemeShard::TXxport::TTxBase

case EState::CreateChangefeed:
CreateChangefeed(importInfo, i, txId);
itemIdx = i;
break;

case EState::CreateConsumers:
CreateConsumers(importInfo, i, txId);
itemIdx = i;
break;
Expand Down Expand Up @@ -1312,19 +1308,10 @@ struct TSchemeShard::TImport::TTxProgress: public TSchemeShard::TXxport::TTxBase
case EState::CreateChangefeed:
if (++item.NextChangefeedIdx < item.Changefeeds.GetChangefeeds().size()) {
AllocateTxId(importInfo, itemIdx);
item.State = EState::CreateConsumers;
} else {
item.State = EState::Done;
}
break;

case EState::CreateConsumers:
if (item.NextChangefeedIdx < item.Changefeeds.GetChangefeeds().size()) {
AllocateTxId(importInfo, itemIdx);
item.State = EState::CreateChangefeed;
} else {
item.State = EState::Done;
}

default:
return SendNotificationsIfFinished(importInfo);
Expand Down
6 changes: 2 additions & 4 deletions ydb/core/tx/schemeshard/schemeshard_import_flow_proposals.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -308,10 +308,8 @@ THolder<TEvSchemeShard::TEvModifySchemeTransaction> CreateConsumersPropose(
auto& pqGroup = *modifyScheme.MutableAlterPersQueueGroup();

const TPath dstPath = TPath::Init(item.DstPathId, ss);
Cerr << "pqGroup working dir: " << dstPath.Parent().PathString() << Endl;
Cerr << "pqGroup name: " << dstPath.LeafName() << Endl;
modifyScheme.SetWorkingDir(dstPath.Parent().PathString());
pqGroup.SetName(dstPath.LeafName());
modifyScheme.SetWorkingDir(dstPath.PathString());
pqGroup.SetName(importChangefeedTopic.GetChangefeed().name());

for (const auto& consumer : topic.consumers()) {
auto pqConsumer = *pqGroup.MutablePQTabletConfig()->AddConsumers();
Expand Down
1 change: 0 additions & 1 deletion ydb/core/tx/schemeshard/schemeshard_info_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -2829,7 +2829,6 @@ struct TImportInfo: public TSimpleRefCount<TImportInfo> {
Transferring,
BuildIndexes,
CreateChangefeed,
CreateConsumers,
Done = 240,
Cancellation = 250,
Cancelled = 251,
Expand Down

0 comments on commit 76b50eb

Please sign in to comment.