summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsabdenovch <[email protected]>2025-03-12 17:59:13 +0300
committersabdenovch <[email protected]>2025-03-12 18:14:10 +0300
commit8363124d156d3d9f208b359c1449eac88da96f1f (patch)
tree8093bcbe6f0046d18aab5daffd8ce1ba891c9359
parentb7fc751cb2cc05de3eab8e775ef415c646d3049e (diff)
Cosmetics
commit_hash:b2c341642b3612ca09162fe6a02f64981bc9a766
-rw-r--r--yt/yt/client/hedging/penalty_provider.cpp2
-rw-r--r--yt/yt/client/table_client/composite_compare.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/yt/yt/client/hedging/penalty_provider.cpp b/yt/yt/client/hedging/penalty_provider.cpp
index 4ef88ac8bc0..eb5841de9a1 100644
--- a/yt/yt/client/hedging/penalty_provider.cpp
+++ b/yt/yt/client/hedging/penalty_provider.cpp
@@ -157,7 +157,7 @@ public:
Counters_->TotalTabletCount.Update(tabletCount);
for (auto& [cluster, info] : ReplicaClusters_) {
- Y_ASSERT(info.ReplicaId);
+ YT_ASSERT(info.ReplicaId);
auto tabletWithLagCount = tabletWithLagCountPerReplica.Value(info.ReplicaId, 0);
auto newLagPenalty = CalculateLagPenalty(tabletCount, tabletWithLagCount);
info.CurrentLagPenalty.store(newLagPenalty.GetValue(), std::memory_order::relaxed);
diff --git a/yt/yt/client/table_client/composite_compare.cpp b/yt/yt/client/table_client/composite_compare.cpp
index e061ce45490..6b2857fb5f0 100644
--- a/yt/yt/client/table_client/composite_compare.cpp
+++ b/yt/yt/client/table_client/composite_compare.cpp
@@ -205,7 +205,7 @@ int CompareYsonValues(TYsonStringBuf lhs, TYsonStringBuf rhs)
} else if (lhsItem.GetType() == EYsonItemType::EndOfStream) {
return 0;
}
- Y_ASSERT(lhsItem.GetType() != EYsonItemType::EndOfStream &&
+ YT_ASSERT(lhsItem.GetType() != EYsonItemType::EndOfStream &&
rhsItem.GetType() != EYsonItemType::EndOfStream);
}
}