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

Point dev to newer hosted DB version #1567

Merged
merged 1 commit into from
Jan 4, 2019
Merged

Conversation

Martii
Copy link
Member

@Martii Martii commented Jan 4, 2019

  • This is very close to production version but since it is shared it's a crap shoot when creating a sandboxed (free but limited btw) DB. Interesting feature of mLabs. May try again to see if we can match it. First creation wasn't close enough; 2nd time it is close.

NOTES:

  • Will leave old dev db up for a bit until full retesting occurs. Basic seems to be okay with new dev db.
  • The FQDN name has changed for dev mLabs at some point in history. Probably offloaded onto a different server is an educated guess via DNS.
  • pwd has to be at least 6 characters and include alphanumerics now... making as general as possible
  • Can only import exported collections from here. Full DB import from export isn't happy which is okay as long as metadata _since is preserved. Probably has to do with db name conflict and mLabs.
  • Metadata _since is preserved however it did complain about indexes on one collection:
2019-01-03T16:20:45.014-0700    Failed: openuserjs_devel.scripts: error creating indexes for openuserjs_devel.scripts: createIndex error: The field 'safe' is not valid for an index specification. Specification: { background: true, safe: null, name: "name_1", ns: "openuserjs_devel.scripts", key: { name: 1 } }
  • 12 system indexes in new vs old which had 17. From v1 to v2. db name auto-adjusted.
  • nodejitsu user index item not inclusive. Talk about a blast from the past.
  • Some misc indexes that I'm not sure why they are there were not auto-imported.
  • Btw we are Eastern served... so not quite sure why the traceroute tests were going West other than general internet misdirection at this time in the backbones.
  • Btw if we take this info to the VPS we may lose the dev db and probably need to establish additional limited sub-accounts

Ref:

Applies to #1548 #262

* This is very close to production version but since it is shared it's a crap shoot when creating a sandboxed *(free but limited btw)* DB. Interesting feature of mLabs. May try again to see if we can match it. First creation wasn't close enough; 2nd time it is close.

NOTES:
* Will leave old dev db up for a bit until full retesting occurs. Basic seems to be okay with new dev db.
* The FQDN name has changed for dev mLabs at some point in history. Probably offloaded onto a different server is an educated guess via DNS.
* pwd has to be at least 6 characters and include alphanumerics now... making as general as possible
* Can only import exported collections from here. Full DB import from export isn't happy which is okay as long as metadata `_since` is preserved. Probably has to do with db name conflict and mLabs.
* Metadata `_since` is preserved however it did complain about indexes on one collection:

``` console
2019-01-03T16:20:45.014-0700    Failed: openuserjs_devel.scripts: error creating indexes for openuserjs_devel.scripts: createIndex error: The field 'safe' is not valid for an index specification. Specification: { background: true, safe: null, name: "name_1", ns: "openuserjs_devel.scripts", key: { name: 1 } }
```

* 12 system indexes in new vs old which had 17. From v1 to v2. db name auto-adjusted.
* nodejitsu user index item not inclusive. Talk about a blast from the past.
*  Some misc indexes that I'm not sure why they are there were not auto-imported.
* Btw we are Eastern served... so not quite sure why the traceroute tests were going West other than general internet misdirection at this time in the backbones.
* Btw if we take this info to the VPS we may lose the dev db and probably need to establish additional limited sub-accounts

Ref:
* https://docs.mlab.com/ops/#q-why-cant-i-change-the-mongodb-version-thats-running-on-my-sandbox-database

Applies to OpenUserJS#1548 OpenUserJS#262
@Martii Martii added DB Pertains inclusively to the Database operations. migration Use this to indicate that it may apply to an existing or announced migration. CODE Some other Code related issue and it should clearly describe what it is affecting in a comment. labels Jan 4, 2019
@Martii Martii merged commit b2c69c6 into OpenUserJS:master Jan 4, 2019
@Martii Martii deleted the newerDBforDev branch January 4, 2019 00:25
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 2, 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. migration Use this to indicate that it may apply to an existing or announced migration.
Development

Successfully merging this pull request may close these issues.

1 participant