-
Notifications
You must be signed in to change notification settings - Fork 54
Mongo ttl index support #779
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
Merged
Changes from 3 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
5f637cb
feat: add support for TTL indexes in database adapters and validation
ArnabChatterjee20k 321a4c5
refactor: standardize method formatting and improve TTL index validat…
ArnabChatterjee20k 151703f
updated adapters with the support method for the ttl index support
ArnabChatterjee20k cc63ade
fix: update TTL index validation messages and conditions for shared t…
ArnabChatterjee20k ed322e6
typo
ArnabChatterjee20k 8fa2454
added ttl index in the missing index message
ArnabChatterjee20k 07ccad8
Refactor SchemalessTests to improve datetime handling and add new tests
ArnabChatterjee20k 9a21ce2
Update src/Database/Validator/Index.php
ArnabChatterjee20k 6fd965d
fix: update TTL index default value to 1 and adjust related methods f…
ArnabChatterjee20k 8e4e208
Merge remote-tracking branch 'upstream/mongo-ttl' into mongo-ttl
ArnabChatterjee20k affc6a1
test: implement retry logic for TTL expiration checks in SchemalessTests
ArnabChatterjee20k 3cbc6f6
linting
ArnabChatterjee20k 41ea5ca
updated waiting in ttl test
ArnabChatterjee20k 06e8d08
updated expiry tests
ArnabChatterjee20k 4cb6863
enforced one ttl index per collection
ArnabChatterjee20k cc7fca3
removed empty orders from the ttl index validator
ArnabChatterjee20k 3b388c8
changed ttl check
ArnabChatterjee20k e90b89d
updated ttl attribute support in the get document
ArnabChatterjee20k d641084
Merge remote-tracking branch 'upstream/main' into mongo-ttl
ArnabChatterjee20k 92aeef9
linting
ArnabChatterjee20k 68beab1
updated composer
ArnabChatterjee20k 7aa241c
Merge remote-tracking branch 'origin/main' into mongo-ttl
ArnabChatterjee20k b020b31
applied ttl check for both cached and non cached doc
ArnabChatterjee20k 073165e
Refactor SchemalessTests to assert document expiration behavior. Upda…
ArnabChatterjee20k 502d0df
updated tests
ArnabChatterjee20k 3fca7d7
updated tests
ArnabChatterjee20k File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's make sure method names are always consistent:
getSupportForTTLIndexes