Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Upgraded to Mongo 3.0 #60

Merged
merged 1 commit into from
Mar 8, 2017
Merged

Upgraded to Mongo 3.0 #60

merged 1 commit into from
Mar 8, 2017

Conversation

clintonb
Copy link
Contributor

@clintonb clintonb commented Mar 8, 2017

Fixes #52

@clintonb
Copy link
Contributor Author

clintonb commented Mar 8, 2017

Release Notes
While there are methods of dumping data from Mongo 2.6 and importing it into Mongo 3.0, our limited use of this version of devstack makes the conversion unnecessarily complicated. The steps below will permanently remove the Mongo data volume, create a new one, and re-provision Mongo.

# Destroy all containers
make devstack.reset

# Remove the Mongo data volume
docker volume rm devstack_mongo_data

# Re-create the demo course
make devstack.provision

@clintonb
Copy link
Contributor Author

clintonb commented Mar 8, 2017

@edx/devops please review

FYI @edx/ecommerce

container_name: edx.devstack.mongo
image: mongo:2.6.5
image: mongo:3.0
Copy link
Contributor

Choose a reason for hiding this comment

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

@clintonb is this consistent with the version we run in production?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes. See #52.

Copy link
Contributor

Choose a reason for hiding this comment

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

Good news is that when we get to 3.2/3.4 you won't have to specify wiredTiger

Copy link
Contributor

@jibsheet jibsheet left a comment

Choose a reason for hiding this comment

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

Looks good. We're already using mongo:3.0.14 in the forums travis tests (My only question is whether you should pin to the specific subversion we use, but not a blocker, especially since 3.0 is mostly in maintenance now).

container_name: edx.devstack.mongo
image: mongo:2.6.5
image: mongo:3.0
Copy link
Contributor

Choose a reason for hiding this comment

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

Good news is that when we get to 3.2/3.4 you won't have to specify wiredTiger

@clintonb
Copy link
Contributor Author

clintonb commented Mar 8, 2017

Pinned to mongo:3.0.14 to be as specific as possible regarding the MongoDB version.

@clintonb clintonb merged commit 9e9cbda into master Mar 8, 2017
@clintonb clintonb deleted the mongo-3.0 branch March 8, 2017 18:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants