Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cosmos DB: Enable TTL on lease container creation #865

Merged
merged 3 commits into from
Sep 20, 2023
Merged

Conversation

ealsur
Copy link
Member

@ealsur ealsur commented Sep 1, 2023

Setting DefaultTimeToLive to -1 enables TTL on the lease container without explicitly evicting any document except those that have a "ttl" property.

Lease documents do not have a "ttl" property.

Initialization lock however, does.

Closes #858

@ealsur ealsur merged commit 4fb877c into dev Sep 20, 2023
7 checks passed
@ealsur ealsur deleted the users/ealsur/ttl branch September 20, 2023 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant