Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberROFL committed Oct 3, 2024
1 parent 14faff2 commit c859f59
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
4 changes: 3 additions & 1 deletion ydb/core/change_exchange/change_sender_common_ops.h
Original file line number Diff line number Diff line change
Expand Up @@ -419,9 +419,11 @@ class TBaseChangeSender {
if (partitionIds) {
CreateMissingSenders(partitionIds);
} else {
RecreateSenders(std::exchange(GonePartitions, {}));
RecreateSenders(GonePartitions);
}

GonePartitions.clear();

if (!Enqueued || !RequestRecords()) {
SendRecords();
}
Expand Down
4 changes: 4 additions & 0 deletions ydb/core/scheme/scheme_tablecell.h
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,10 @@ class TSerializedCellVec {
return Cells;
}

explicit operator bool() const {
return !Cells.empty();
}

static void Serialize(TString& res, TConstArrayRef<TCell> cells);

static TString Serialize(TConstArrayRef<TCell> cells);
Expand Down
1 change: 0 additions & 1 deletion ydb/core/tx/datashard/change_sender_cdc_stream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,6 @@ class TCdcChangeSenderMain
TopicVersion = topicVersion;

const auto& pqDesc = entry.PQGroupInfo->Description;
const auto& pqConfig = pqDesc.GetPQTabletConfig();

PartitionToShard.clear();
for (const auto& partition : pqDesc.GetPartitions()) {
Expand Down
2 changes: 1 addition & 1 deletion ydb/core/tx/replication/service/table_writer_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ class TLocalTableWriter
if (TableVersion && TableVersion == entry.Self->Info.GetVersion().GetGeneralVersion()) {
Y_ABORT_UNLESS(Initialized);
Resolving = false;
return CreateSenders();
return this->CreateSenders();
}

auto schema = MakeIntrusive<TLightweightSchema>();
Expand Down

0 comments on commit c859f59

Please sign in to comment.