I try to use mondodb 2.0 service in our Cloud Foundry environment, but
there are some issues.
I'd like to ask these issues.
First, in a previous commit, close_fds (close file descriptors) methods is
moved in mondodb_node.rb.
*Why is it been move and what is the purpose of this method?*
Second and this is an important issue, we want to use mongodb 2.0 in
In mogodb 2.0, journal mode is default turned on,
but cloud foundry turns it off in this commit.
*Why does it turn off?*
In our cloud foundry, one problem comes up when using journal mode.
Mondogb executes preallocate process during start up only when disk access
This is caused by this code.
As of cloud foundry, provision service fails because it takes too long time
to start up due to this preallocate process.
(During adding "admin" user, mongodb_node tries to add at 10 times(10sec),
but it takes more time to finish preallocate process
in our environment.)
I wil try to turn off preallocate process with "--noprealloc" option.
*Is anyone try to use this option?*