commit | dadddb8f0a19075a894aacf64da838c2f312a533 | [log] [tgz] |
---|---|---|
author | Dmitry Kalashnik <dkalashnik@mirantis.com> | Fri Feb 01 16:50:22 2019 +0400 |
committer | Dmitry Kalashnik <dkalashnik@mirantis.com> | Fri Feb 01 16:50:22 2019 +0400 |
tree | 6edf272489001a3b957d95be8a0849c06b0fac1f | |
parent | 442f2ec19d213fe7afa59f2180cb836a66ce2557 [diff] |
Disable journal preallocation MongoDB at start time measures write latency for cases with and without preallocation. If difference is larger than 2ms MongoDB starts to allocate 2Gb journal. During allocation it is not able to listen for requests, so cluster initialization fails. This change make mongobd starts faster for succesful cluster initialization. Change-Id: I55ff6076b0c21a5df93231b2c789d16256c4c784 Closes-Bug: PROD-27116