Skip to content

Commit 2d7bc95

Browse files
committed
Ydb stable 23-4-6
x-stable-origin-commit: e1771646ac638eac5a77678e11eebf7c1fb51f6a
1 parent 01a0ea3 commit 2d7bc95

File tree

3 files changed

+5
-22
lines changed

3 files changed

+5
-22
lines changed

ydb/core/tx/scheme_board/replica.cpp

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -248,17 +248,6 @@ class TReplica: public TMonitorableActor<TReplica> {
248248
TrackMemory();
249249
}
250250

251-
explicit TDescription(
252-
TReplica* owner,
253-
const TPathId& pathId,
254-
TOpaquePathDescription&& pathDescription)
255-
: Owner(owner)
256-
, PathId(pathId)
257-
, PathDescription(std::move(pathDescription))
258-
{
259-
TrackMemory();
260-
}
261-
262251
explicit TDescription(
263252
TReplica* owner,
264253
const TString& path,
@@ -540,13 +529,13 @@ class TReplica: public TMonitorableActor<TReplica> {
540529
}
541530

542531
// upsert description only by pathId
543-
TDescription& UpsertDescription(const TPathId& pathId, TOpaquePathDescription&& pathDescription) {
532+
TDescription& UpsertDescriptionByPathId(const TString& path, const TPathId& pathId, TOpaquePathDescription&& pathDescription) {
544533
SBR_LOG_I("Upsert description"
545534
<< ": pathId# " << pathId
546535
<< ", pathDescription# " << pathDescription.ToString()
547536
);
548537

549-
return Descriptions.Upsert(pathId, TDescription(this, pathId, std::move(pathDescription)));
538+
return Descriptions.Upsert(pathId, TDescription(this, path, pathId, std::move(pathDescription)));
550539
}
551540

552541
// upsert description by path AND pathId both
@@ -898,7 +887,7 @@ class TReplica: public TMonitorableActor<TReplica> {
898887
if (abandonedSchemeShards.contains(pathId.OwnerId)) { // TSS is ignored, present GSS reverted it
899888
log("Replace GSS by TSS description is rejected, GSS implicitly knows that TSS has been reverted"
900889
", but still inject description only by pathId for safe");
901-
UpsertDescription(pathId, std::move(pathDescription));
890+
UpsertDescriptionByPathId(path, pathId, std::move(pathDescription));
902891
return AckUpdate(ev);
903892
}
904893

@@ -923,7 +912,7 @@ class TReplica: public TMonitorableActor<TReplica> {
923912
}
924913

925914
log("Inject description only by pathId, it is update from GSS");
926-
UpsertDescription(pathId, std::move(pathDescription));
915+
UpsertDescriptionByPathId(path, pathId, std::move(pathDescription));
927916
return AckUpdate(ev);
928917
}
929918

ydb/library/yql/minikql/mkql_node.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2387,7 +2387,7 @@ EValueRepresentation GetValueRepresentation(const TType* type) {
23872387
}
23882388

23892389
TArrayRef<TType* const> GetWideComponents(const TFlowType* type) {
2390-
if (RuntimeVersion > 35) {
2390+
if (type->GetItemType()->IsMulti()) {
23912391
return AS_TYPE(TMultiType, type->GetItemType())->GetElements();
23922392
}
23932393
return AS_TYPE(TTupleType, type->GetItemType())->GetElements();

ydb/services/lib/actors/pq_schema_actor.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,6 @@ namespace NKikimr::NGRpcProxy::V1 {
135135
}
136136

137137
if (rr.important()) {
138-
if (AppData(ctx)->PQConfig.GetTopicsAreFirstClassCitizen()) {
139-
return TMsgPqCodes(
140-
TStringBuilder() << "important flag is forbiden for consumer " << rr.consumer_name(),
141-
Ydb::PersQueue::ErrorCode::VALIDATION_ERROR
142-
);
143-
}
144138
config->MutablePartitionConfig()->AddImportantClientId(consumerName);
145139
}
146140

0 commit comments

Comments
 (0)