-
-
Notifications
You must be signed in to change notification settings - Fork 504
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
Separate index creation options from index options #1910
Merged
Merged
Conversation
This file contains 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
alcaeus
commented
Dec 19, 2018
lib/Doctrine/ODM/MongoDB/Tools/Console/Command/Schema/AbstractCommand.php
Outdated
Show resolved
Hide resolved
alcaeus
force-pushed
the
drop-index-options
branch
from
December 20, 2018 05:43
26ea18c
to
2bb9f23
Compare
Note: I extracted index equivalency checks from this PR to a separate branch and will be opening a PR for that shortly. I feel those changes warrant their own discussion. |
alcaeus
force-pushed
the
drop-index-options
branch
from
December 20, 2018 06:48
2bb9f23
to
ee517d7
Compare
malarzm
approved these changes
Dec 21, 2018
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.
Codewise looks OK 👍
alcaeus
force-pushed
the
drop-index-options
branch
from
December 22, 2018 14:23
ee517d7
to
61e582b
Compare
alcaeus
force-pushed
the
drop-index-options
branch
from
December 22, 2018 14:39
61e582b
to
0204d40
Compare
jmikola
reviewed
Dec 22, 2018
lib/Doctrine/ODM/MongoDB/Tools/Console/Command/Schema/AbstractCommand.php
Show resolved
Hide resolved
* Throw an exception when wTimeout or journal are passed without a w option * Cast w to int if it's numeric to ensure correct handling of writeConcern values in the driver
alcaeus
added a commit
to alcaeus/mongodb-odm
that referenced
this pull request
Jan 11, 2019
alcaeus
added a commit
to alcaeus/mongodb-odm
that referenced
this pull request
Jan 11, 2019
alcaeus
added a commit
to alcaeus/mongodb-odm
that referenced
this pull request
Jan 11, 2019
alcaeus
added a commit
to alcaeus/mongodb-odm
that referenced
this pull request
Jan 11, 2019
alcaeus
added a commit
to alcaeus/mongodb-odm
that referenced
this pull request
Jan 11, 2019
alcaeus
added a commit
to alcaeus/mongodb-odm
that referenced
this pull request
Jan 11, 2019
alcaeus
added a commit
to alcaeus/mongodb-odm
that referenced
this pull request
Jan 11, 2019
alcaeus
added a commit
to alcaeus/mongodb-odm
that referenced
this pull request
Jan 11, 2019
alcaeus
added a commit
to alcaeus/mongodb-odm
that referenced
this pull request
Jan 14, 2019
alcaeus
added a commit
to alcaeus/mongodb-odm
that referenced
this pull request
Jan 14, 2019
alcaeus
added a commit
to alcaeus/mongodb-odm
that referenced
this pull request
Jan 14, 2019
alcaeus
added a commit
to alcaeus/mongodb-odm
that referenced
this pull request
Mar 6, 2019
* 1.3.x: (65 commits) Clarify deprecation block for same-namespace resolution Add BC layer for optimized collection operations Updated existing tests for CollectionPersister for tracking executed queries where it is required. Added missing tests for checking simultaneous embed-many collections updates under different storage strategies. Simplified methods for working with nested collections, remove redundant checks Merge remarks implemented. Reduced complexity of CollectionPersister::excludeSubPaths method. Updated CollectionPersister logic for handling nested collections scheduled for update - now nested collections for one parent is updated inside one query where it was possible. Added check for sub-paths before collections removal in CollectionPersister::deleteAll. Fixed style of code. Implemented CollectionPersister::deleteAll method for simultaneous deletion of collections that is belong to one document. Deprecate GridFS features Deprecate proxies from doctrine/common Finish renaming dirtyCheck methods Remove usage of deprecated ClassMetadataInfo class in hydrators Renamed scheduledForDirtyCheck Removed PHP 5.5 workaround Add changelog for 1.2.6 Fix wrong type hint for generator type in ClassMetadata Fix serialisation of uninitialised PersistentCollection instances Deprecate indexOptions argument in SchemaManager (doctrine#1910) Deprecate dropDups option on indexes (doctrine#1910) ...
alcaeus
added a commit
to alcaeus/mongodb-odm
that referenced
this pull request
Mar 8, 2019
* 1.3.x: (65 commits) Clarify deprecation block for same-namespace resolution Add BC layer for optimized collection operations Updated existing tests for CollectionPersister for tracking executed queries where it is required. Added missing tests for checking simultaneous embed-many collections updates under different storage strategies. Simplified methods for working with nested collections, remove redundant checks Merge remarks implemented. Reduced complexity of CollectionPersister::excludeSubPaths method. Updated CollectionPersister logic for handling nested collections scheduled for update - now nested collections for one parent is updated inside one query where it was possible. Added check for sub-paths before collections removal in CollectionPersister::deleteAll. Fixed style of code. Implemented CollectionPersister::deleteAll method for simultaneous deletion of collections that is belong to one document. Deprecate GridFS features Deprecate proxies from doctrine/common Finish renaming dirtyCheck methods Remove usage of deprecated ClassMetadataInfo class in hydrators Renamed scheduledForDirtyCheck Removed PHP 5.5 workaround Add changelog for 1.2.6 Fix wrong type hint for generator type in ClassMetadata Fix serialisation of uninitialised PersistentCollection instances Deprecate indexOptions argument in SchemaManager (doctrine#1910) Deprecate dropDups option on indexes (doctrine#1910) ...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
dropDups
option for indexes since MongoDB no longer uses ittimeout
command line option for schema commandsmaxTimeMS
andwriteConcern
options to schema managermaxTimeMS
as well asw
,wTimeout
andjournal
options to schema commands