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 defaults with MongoDB and stderr #851

Merged
merged 1 commit into from
Dec 16, 2015

Conversation

Martii
Copy link
Member

@Martii Martii commented Dec 16, 2015

NOTES

* Set some DB options to their assumed defaults from http://mongodb.github.io/node-mongodb-native/2.0/api/Server.html ... relates to https://github.com/christkv/mongodb-core/issues/66#issuecomment-165052045
* Set some replset defaults to their assumed defaults from http://mongodb.github.io/node-mongodb-native/2.0/api/ReplSet.html ... relates to Automattic/mongoose#3588 (comment)
* Move/change a stderr message to debug mode of *node*... clear up the logs a bit since script source may not be found just yet. This only happens on pro so far and probably deals with streams not ready yet. Applies to OpenUserJS#430
* Move S3 source not found stderr to debug mode of *node*... known issue of OpenUserJS#486. Applies to OpenUserJS#430

**NOTES**
* This will be a test whereas unless it's a huge bug I can't take pro down for at least 3 days, give or take to see if this helps or hinders from OpenUserJS#845 backout.
@Martii Martii added enhancement Something we do have implemented already but needs improvement upon to the best of knowledge. CODE Some other Code related issue and it should clearly describe what it is affecting in a comment. labels Dec 16, 2015
Martii added a commit that referenced this pull request Dec 16, 2015
Change some defaults with MongoDB and stderr

Auto-merge
@Martii Martii merged commit 1588b40 into OpenUserJS:master Dec 16, 2015
@Martii Martii deleted the tryMongoDBdifferentValues branch December 16, 2015 18:16
Martii pushed a commit to Martii/OpenUserJS.org that referenced this pull request Dec 16, 2015
* Gracefully disconnect from MongoDB during restarts
* Add some console messages in for tracking
* Remove the `bind` on error trap

Applies to OpenUserJS#845, OpenUserJS#851, Automattic/mongoose#3588 and loosely christkv/mongodb-core#66
@Martii Martii added DB Pertains inclusively to the Database operations. needs mitigation Needs additional followup. labels Dec 16, 2015
Martii pushed a commit to Martii/OpenUserJS.org that referenced this pull request Dec 18, 2015
* 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 removed the needs mitigation Needs additional followup. label Dec 18, 2015
@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
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