aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible
diff options
context:
space:
mode:
authorcarey.xu <carey.xuhan@huawei.com>2016-02-16 15:05:28 +0800
committercarey.xu <carey.xuhan@huawei.com>2016-02-16 15:05:28 +0800
commitfc50d4a2fac61355019a7cffbef21e96a3423fce (patch)
tree5178ac4392b2f6082f88069862c0751d6dfe6b0d /deploy/adapters/ansible
parent00ba12cbc900cb1cb38bee938544cc95583ab416 (diff)
bugfix: fix the mongodb oplog size to 10GB
JIRA: COMPASS-316 Change-Id: Ib7a6a0f9a8c06de19d0530157bbeaaf233ce169f Signed-off-by: carey.xu <carey.xuhan@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible')
-rw-r--r--deploy/adapters/ansible/roles/database/templates/mongodb.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/database/templates/mongodb.conf b/deploy/adapters/ansible/roles/database/templates/mongodb.conf
index 18306154..7d6dda93 100644
--- a/deploy/adapters/ansible/roles/database/templates/mongodb.conf
+++ b/deploy/adapters/ansible/roles/database/templates/mongodb.conf
@@ -3,3 +3,4 @@ bind_ip = 0.0.0.0
replSet = compass
port = 27017
smallfiles = true
+oplogSize = 10240