Skip to content

Commit 00101c6

Browse files
committed
typo
1 parent f4ab4db commit 00101c6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ydb/core/tx/schemeshard/common/validation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ bool TTTLValidator::ValidateTiers(const NKikimrSchemeOp::TTTLSettings::TEnabled
6666
return false;
6767
}
6868
if (i != 0 && tier.GetApplyAfterSeconds() <= ttlSettings.GetTiers(i - 1).GetApplyAfterSeconds()) {
69-
errStr = TStringBuilder() << "Tiers in the sequence have must have increasing ApplyAfterSeconds: "
69+
errStr = TStringBuilder() << "Tiers in the sequence must have increasing ApplyAfterSeconds: "
7070
<< ttlSettings.GetTiers(i - 1).GetApplyAfterSeconds() << " >= " << tier.GetApplyAfterSeconds();
7171
return false;
7272
}

ydb/core/tx/schemeshard/ut_ttl/ut_ttl_utility.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Y_UNIT_TEST_SUITE(TSchemeShardTTLUtility) {
4545
TestValidateTiers({ makeEvictTier(1), makeDeleteTier(2) }, TConclusionStatus::Success());
4646
TestValidateTiers({ makeEvictTier(1), makeEvictTier(2), makeDeleteTier(3) }, TConclusionStatus::Success());
4747
TestValidateTiers({ makeEvictTier(1), makeEvictTier(2) }, TConclusionStatus::Success());
48-
TestValidateTiers({ makeEvictTier(2), makeEvictTier(1) }, TConclusionStatus::Fail("Tiers in the sequence have must have increasing ApplyAfterSeconds"));
48+
TestValidateTiers({ makeEvictTier(2), makeEvictTier(1) }, TConclusionStatus::Fail("Tiers in the sequence must have increasing ApplyAfterSeconds"));
4949
TestValidateTiers({ makeDeleteTier(1), makeEvictTier(2) }, TConclusionStatus::Fail("Only the last tier in TTL settings can have Delete action"));
5050
TestValidateTiers({ makeDeleteTier(1), makeDeleteTier(2) }, TConclusionStatus::Fail("Only the last tier in TTL settings can have Delete action"));
5151
}

0 commit comments

Comments
 (0)