Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 4 additions & 20 deletions ydb/apps/version/version_definition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,30 +9,14 @@ NKikimrConfig::TCurrentCompatibilityInfo NKikimr::TCompatibilityInfo::MakeCurren
.Application = "ydb",
.Version = TVersionConstructor{
.Year = 24,
.Major = 1,
},
.CanLoadFrom = {
TCompatibilityRuleConstructor{
.LowerLimit = TVersionConstructor{ .Year = 23, .Major = 4 },
.UpperLimit = TVersionConstructor{ .Year = 24, .Major = 1 },
},
},
.StoresReadableBy = {
TCompatibilityRuleConstructor{
.LowerLimit = TVersionConstructor{ .Year = 23, .Major = 4 },
.UpperLimit = TVersionConstructor{ .Year = 24, .Major = 1 },
},
.Major = 2,
},
.CanConnectTo = {
TCompatibilityRuleConstructor{
.LowerLimit = TVersionConstructor{ .Year = 23, .Major = 4 },
.UpperLimit = TVersionConstructor{ .Year = 24, .Major = 1 },
},
TCompatibilityRuleConstructor{
.Application = "nbs",
.LowerLimit = TVersionConstructor{ .Year = 23, .Major = 3 },
.UpperLimit = TVersionConstructor{ .Year = 24, .Major = 1 },
.LowerLimit = TVersionConstructor{ .Year = 23, .Major = 4 },
.UpperLimit = TVersionConstructor{ .Year = 24, .Major = 2 },
},
}
},
}.ToPB();
}
6 changes: 3 additions & 3 deletions ydb/core/driver_lib/version/version.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ const TStored* TCompatibilityInfo::GetDefault(TComponentId componentId) const {
// obsolete version control
TMaybe<NActors::TInterconnectProxyCommon::TVersionInfo> VERSION = NActors::TInterconnectProxyCommon::TVersionInfo{
// version of this binary
"stable-24-1",
"stable-24-2",

// 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
{
"stable-23-4",
"stable-24-1"
"stable-24-1",
"stable-24-2"
}
};

Expand Down