Skip to content

Commit 07f674d

Browse files
authored
Merge pull request #3324 from SpeedFreak259/patch-1
Corrected comparison in `ttl` + `_ts` <= current server time
2 parents e2aaa25 + 35d5dcb commit 07f674d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/cosmos-db/time-to-live.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ The TTL feature is controlled by TTL properties at two levels - the collection l
3838
* Property is applicable only if DefaultTTL is present for the parent collection.
3939
* Overrides the DefaultTTL value for the parent collection.
4040

41-
As soon as the document has expired (`ttl` + `_ts` >= current server time), the document is marked as "expired”. No operation will be allowed on these documents after this time and they will be excluded from the results of any queries performed. The documents are physically deleted in the system, and are deleted in the background opportunistically at a later time. This does not consume any [Request Units (RUs)](request-units.md) from the collection budget.
41+
As soon as the document has expired (`ttl` + `_ts` <= current server time), the document is marked as "expired”. No operation will be allowed on these documents after this time and they will be excluded from the results of any queries performed. The documents are physically deleted in the system, and are deleted in the background opportunistically at a later time. This does not consume any [Request Units (RUs)](request-units.md) from the collection budget.
4242

4343
The above logic can be shown in the following matrix:
4444

0 commit comments

Comments
 (0)