-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added feature to upgrade KVStore to WiredTiger (#57)
*Added feature to upgrade KVStore to WiredTiger * Added always try to upgrade to mongo 4.0
- Loading branch information
Showing
3 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
#!/usr/bin/env bash | ||
{{ splunk_home }}/bin/splunk migrate migrate-kvstore-36-40 | ||
{% if migrate_kvstore is defined %} | ||
{{ splunk_home }}/bin/splunk start --accept-license --answer-yes --no-prompt | ||
{{ splunk_home }}/bin/splunk stop | ||
{{ splunk_home }}/bin/splunk migrate kvstore-storage-engine --target-engine wiredTiger | ||
{% endif %} | ||
{% if upgrade_kvstore is defined %} | ||
{{ splunk_home }}/bin/splunk migrate migrate-kvstore | ||
{% endif %} | ||
{{ splunk_home }}/bin/splunk start --nodaemon --accept-license --answer-yes --no-prompt |
4 changes: 4 additions & 0 deletions
4
roles/docker_image_build/templates/base/etc/system/local/server.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{% if migrate_kvstore is defined %} | ||
[kvstore] | ||
storageEngineMigration = true | ||
{% endif %} |