aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2023-08-02 13:42:38 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2023-08-02 13:42:38 +0300
commit65d926376d67e796c234da615753ab7c16021560 (patch)
treea866c701c5d3e7f76c160843417ef19d6768be18
parent616e600cdea06a9aed80467aadaf10a7c680a074 (diff)
downloadydb-65d926376d67e796c234da615753ab7c16021560.tar.gz
Intermediate changes
-rw-r--r--yt/yt/core/misc/statistics.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/yt/yt/core/misc/statistics.cpp b/yt/yt/core/misc/statistics.cpp
index 3b52203b6c..8c7d836c03 100644
--- a/yt/yt/core/misc/statistics.cpp
+++ b/yt/yt/core/misc/statistics.cpp
@@ -64,12 +64,7 @@ void TSummary::Persist(const TStreamPersistenceContext& context)
Persist(context, Count_);
Persist(context, Min_);
Persist(context, Max_);
- // COMPAT(ignat)
- if (context.IsLoad() && context.GetVersion() < /* ESnapshotVersion::LastFieldInStatistics */ 300610) {
- Last_ = std::nullopt;
- } else {
- Persist(context, Last_);
- }
+ Persist(context, Last_);
}
void Serialize(const TSummary& summary, IYsonConsumer* consumer)