Skip to content

Commit 10970c2

Browse files
committed
Add compatibility info
1 parent 6149d92 commit 10970c2

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

ydb/core/driver_lib/version/version.cpp

+11-4
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,15 @@ TCompatibilityInfo::TCompatibilityInfo() {
2727
/////////////////////////////////////////////////////////
2828

2929
auto current = TCurrentConstructor{
30-
.Application = "ydb"
30+
.Application = "ydb",
31+
.Version = TVersionConstructor{
32+
.Year = 24,
33+
.Major = 1,
34+
}
3135
}.ToPB();
3236

33-
// bool success = CompleteFromTag(current);
37+
bool success = CompleteFromTag(current);
38+
Y_UNUSED(success);
3439
// Y_ABORT_UNLESS(success);
3540

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

8186
// compatible versions; must include all compatible old ones, including this one; version verification occurs on both
8287
// peers and connection is accepted if at least one of peers accepts the version of the other peer
8388
{
84-
"trunk"
89+
"stable-23-3",
90+
"stable-23-4",
91+
"stable-24-1"
8592
}
8693
};
8794

0 commit comments

Comments
 (0)