Skip to content

Commit

Permalink
Merge 10970c2 into 6149d92
Browse files Browse the repository at this point in the history
  • Loading branch information
serbel324 authored Feb 5, 2024
2 parents 6149d92 + 10970c2 commit cb66718
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions ydb/core/driver_lib/version/version.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,15 @@ TCompatibilityInfo::TCompatibilityInfo() {
/////////////////////////////////////////////////////////

auto current = TCurrentConstructor{
.Application = "ydb"
.Application = "ydb",
.Version = TVersionConstructor{
.Year = 24,
.Major = 1,
}
}.ToPB();

// bool success = CompleteFromTag(current);
bool success = CompleteFromTag(current);
Y_UNUSED(success);
// Y_ABORT_UNLESS(success);

CurrentCompatibilityInfo.CopyFrom(current);
Expand Down Expand Up @@ -76,12 +81,14 @@ const TStored* TCompatibilityInfo::GetDefault(TComponentId componentId) const {
// obsolete version control
TMaybe<NActors::TInterconnectProxyCommon::TVersionInfo> VERSION = NActors::TInterconnectProxyCommon::TVersionInfo{
// version of this binary
"trunk",
"stable-24-1",

// compatible versions; must include all compatible old ones, including this one; version verification occurs on both
// peers and connection is accepted if at least one of peers accepts the version of the other peer
{
"trunk"
"stable-23-3",
"stable-23-4",
"stable-24-1"
}
};

Expand Down

0 comments on commit cb66718

Please sign in to comment.