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
2 changes: 1 addition & 1 deletion ydb/core/sys_view/service/ext_counters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ class TExtCountersUpdaterActor
ExecuteLatencyMsPrevValues[n] = value;
if (ExecuteLatencyMsBounds[n] == 0) {
NMonitoring::TBucketBound bound = snapshot->UpperBound(n);
ExecuteLatencyMsBounds[n] = bound == Max<NMonitoring::TBucketBound>() ? Max<ui64>() : bound;
ExecuteLatencyMsBounds[n] = bound == Max<NMonitoring::TBucketBound>() ? Max<ui64>() : ui64(bound);
}
}
metrics->AddMetric("queries.requests", total);
Expand Down
2 changes: 1 addition & 1 deletion ydb/core/tablet_flat/ut/ut_stat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ Y_UNIT_TEST_SUITE(BuildStatsHistogram) {

ui32 operator()(const TRow&) noexcept
{
auto x = Random.Uniform(1 << Buckets);
auto x = Random.Uniform(1, 1 << Buckets);
return Min(ui32(log2(x)), Buckets - 1);
}

Expand Down
Loading