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

Change some more defaults with MongoDB #854

Merged
merged 1 commit into from
Dec 18, 2015

Conversation

Martii
Copy link
Member

@Martii Martii commented Dec 18, 2015

Applies to #845, #851, #852, Automattic/mongoose#3588 and loosely christkv/mongodb-core#66

Refs:

* Change logic to only use `replset` on production ... as per Automattic/mongoose#3588 (comment) from @chrisckchang
* Default to single connection on development with `server` ... as per Automattic/mongoose#3588 (comment) from @chrisckchang
* Change `connectTimeoutMS` to 60 seconds instead of presumed inherited OS value from https://github.com/christkv/mongodb-core/issues/66#issuecomment-165052045 by @christkv and overridden with @chrisckchang recommendation previously mentioned in commit summary.
* Added NOTE on non-standard keepAlive value that was in before I started twiddling with this... this was on dev and pro pre replica/sharding set.

Applies to OpenUserJS#845, OpenUserJS#851, OpenUserJS#852, Automattic/mongoose#3588 and loosely christkv/mongodb-core#66

Refs:
* Automattic/mongoose#3588 (comment)
@Martii Martii added bug You've guessed it... this means a bug is reported. enhancement Something we do have implemented already but needs improvement upon to the best of knowledge. DB Pertains inclusively to the Database operations. CODE Some other Code related issue and it should clearly describe what it is affecting in a comment. labels Dec 18, 2015
Martii added a commit that referenced this pull request Dec 18, 2015
Change some more defaults with MongoDB

Auto-merge
@Martii Martii merged commit 818bc7f into OpenUserJS:master Dec 18, 2015
@Martii Martii deleted the tryDifferentMongoDBValues branch December 18, 2015 09:08
@Martii Martii added the needs mitigation Needs additional followup. label Dec 18, 2015
@Martii
Copy link
Member Author

Martii commented Dec 18, 2015

MITIGATION: Move autoReconnect to server as per https://github.com/christkv/mongodb-core/issues/66#issuecomment-165406976 and secondaryAcceptableLatencyMS back to replset after current test period.

Martii pushed a commit to Martii/OpenUserJS.org that referenced this pull request Dec 18, 2015
* Followup ... also flipping test from OpenUserJS#854
* Match `keepAlive` settings from legacy value and add a note there as well
* Delete op tested
@Martii Martii mentioned this pull request Dec 18, 2015
@Martii Martii removed the needs mitigation Needs additional followup. label Dec 18, 2015
@Martii
Copy link
Member Author

Martii commented Dec 18, 2015

2015-12-18 10:53:02.288 +00:00: Error: connect ENETUNREACH *IPV6_ADDRESS_CLIPPED* - Local (:::0)
2015-12-18 10:53:02.295 +00:00: InternalOAuthError: Failed to obtain access token
    at Strategy.OAuth2Strategy._createOAuthError (~/OpenUserJS.org/node_modules/passport-google-oauth/node_modules/passport-oauth/node_modules/passport-oauth2/lib/strategy.js:348:17)
    at ~/OpenUserJS.org/node_modules/passport-google-oauth/node_modules/passport-oauth/node_modules/passport-oauth2/lib/strategy.js:171:43
    at ~/OpenUserJS.org/node_modules/passport-google-oauth/node_modules/passport-oauth/node_modules/passport-oauth2/node_modules/oauth/lib/oauth2.js:177:18
    at ClientRequest.<anonymous> (~/OpenUserJS.org/node_modules/passport-google-oauth/node_modules/passport-oauth/node_modules/passport-oauth2/node_modules/oauth/lib/oauth2.js:148:5)
    at emitOne (events.js:77:13)
    at ClientRequest.emit (events.js:169:7)
    at TLSSocket.socketErrorListener (_http_client.js:259:9)
    at emitOne (events.js:77:13)
    at TLSSocket.emit (events.js:169:7)
    at emitErrorNT (net.js:1253:8)
    at doNTCallback2 (node.js:441:9)
    at process._tickDomainCallback (node.js:396:17)

... weird, possible resultant, from inverse test.. flipped to normalized in #855 ... retested Google login and checks okay.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug You've guessed it... this means a bug is reported. CODE Some other Code related issue and it should clearly describe what it is affecting in a comment. DB Pertains inclusively to the Database operations. enhancement Something we do have implemented already but needs improvement upon to the best of knowledge.
Development

Successfully merging this pull request may close these issues.

1 participant