Skip to content

PHPLIB-497: Allow passing hint to findAndModify update and replace operations #711

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

Closed
wants to merge 0 commits into from

Conversation

jmikola
Copy link
Member

@jmikola jmikola commented Jan 24, 2020

https://jira.mongodb.org/browse/PHPLIB-497

Created this to POC mongodb/specifications#650, but now that https://jira.mongodb.org/browse/SPEC-1398 is merged we can repurpose this for the implementation. I'll leave this in a waiting state since we don't want to merge until the 4.4-compat release.

@jmikola jmikola force-pushed the poc-spec-1398 branch 3 times, most recently from adbb3dc to 82e1a0e Compare January 24, 2020 20:10
@jmikola jmikola changed the title [WAIT] SPEC-1398: POC for findAndModify update/replace hint [WAIT] PHPLIB-497: Allow passing hint to findAndModify update and replace operations Jan 27, 2020
@jmikola jmikola requested a review from alcaeus January 27, 2020 18:31
Copy link
Member

@alcaeus alcaeus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I'll defer to you whether you want to change the invalidType call now or if you want to leave it as is for consistency.

@jmikola jmikola changed the title [WAIT] PHPLIB-497: Allow passing hint to findAndModify update and replace operations PHPLIB-497: Allow passing hint to findAndModify update and replace operations Feb 12, 2020
@jmikola
Copy link
Member Author

jmikola commented Feb 13, 2020

FYI, this originally failed with the intermittent double-free error on shutdown in the sharded replica set cluster (PHPC-1541). Re-kicking the build passed on the second attempt.

@jmikola
Copy link
Member Author

jmikola commented Feb 14, 2020

Documentation has been added.

Copy link
Member

@alcaeus alcaeus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

jmikola added a commit that referenced this pull request Feb 14, 2020
@jmikola jmikola closed this Feb 14, 2020
@jmikola jmikola deleted the poc-spec-1398 branch February 14, 2020 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants