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

MongoDB: Force mmapv1 to be compiled in #1365

Merged
merged 1 commit into from
May 7, 2016
Merged

Conversation

TPXP
Copy link
Contributor

@TPXP TPXP commented May 7, 2016

By default, MongoDB 3.2.5 dropped the only storage engine that was available on 32-bits ARM platforms : mmapv1. This prevents MongoDB from working properly as seen on the forums.

This commit forces mmapv1 to be included on all ARM platforms, so that MongoDB works properly even straight out of the box. Indeed, on first start, MongoDB will try to initialize the database using the storage engine in the configuration file (mmapv1), which was not included by default.

@@ -12,7 +12,7 @@

pkgname=mongodb
pkgver=3.2.6
pkgrel=1
pkgrel=2
Copy link
Member

Choose a reason for hiding this comment

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

Go back and read the rules for contributing.

According to the default configuration file, mmapv1 is the default storage engine. However, MongoDB 3.2.5 introduced a change that disables it on non-x86 builds. This commit forces mmapv1 to be compiled in so that everything works properly.
@TPXP
Copy link
Contributor Author

TPXP commented May 7, 2016

Sorry for the previous error. It should be OK now. While I was on it, I added a note at the beginning of the file. 😄

@kmihelich kmihelich merged commit b3a7cb5 into archlinuxarm:master May 7, 2016
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