summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlnaz Nizametdinov <[email protected]>2026-07-01 15:21:15 +0300
committerGitHub <[email protected]>2026-07-01 12:21:15 +0000
commit5fbb193dbf02f280bee7d28171ab4e6811cbb5fe (patch)
treeedfd33374795f17ff154e9782608347dee506b98
parent73e617b0f6afcf018c889e94fa5f8cc5feabee93 (diff)
Fix TTL check (#45142)
-rw-r--r--ydb/core/tx/schemeshard/schemeshard__table_stats.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/core/tx/schemeshard/schemeshard__table_stats.cpp b/ydb/core/tx/schemeshard/schemeshard__table_stats.cpp
index d3ea9af0b18..1dc42a288b0 100644
--- a/ydb/core/tx/schemeshard/schemeshard__table_stats.cpp
+++ b/ydb/core/tx/schemeshard/schemeshard__table_stats.cpp
@@ -523,7 +523,7 @@ bool TTxStoreTableStats::PersistSingleStats(const TPathId& pathId,
return true;
}
- if (table->IsTTLEnabled()) {
+ if (Self->TTLEnabledTables.contains(pathId)) {
if (auto* p = table->GetPartitionStore().FindPtr(shardIdx)) {
auto& lag = p->LastCondEraseLag;