$SPLUNK_HOME/bin/splunk show kvstore-status
ERROR KVStoreBulletinBoardManager [20719 MainThread] - Detected KV Store storage engine Mmapv1. Migrate the KV Store storage engine to WiredTiger and then upgrade KV Store. The Mmapv1 engine is deprecated. See the Splunk platform documentation for more information.
ERROR SHCMasterKVStoreMigrationState [10084 SHPoolMasterKVStoreUpgradeThread] - Compatibility check failed for peer=https://1.2.3.4:8089. StorageEngine=mmapv1. Version=4.0.24-linux-splunk-v1. Failing KV Store upgrade version=4.2How does Splunk upgrade work with KV Store upgrade?
Splunk Search Head clustering configures MongoD replica set with one MongoD node running on each Search Head Cluster member. Search Head Cluster upgrade refers to upgrading all members to new Splunk version. In Search Head Cluster, KV Store upgrade refers to upgrading all nodes to replica set from MMAP to WiredTiger.
MongoD provides mechanism to upgrade replica set to WiredTiger in rolling manner. A selected MongoD node is restarted with WiredTiger option and empty data directory. It then performs initial sync of data from primary replica set. This is repeated until all nodes are running WiredTiger. During replica set upgrade, MongoD client connects to other nodes of replica set to perform read and write operations.
Following ways to upgrade Search Head Cluster:
Finalize the rolling upgrade by running the following CLI command on Search Head captain:
$SPLUNK_HOME/bin/splunk upgrade-finalize shcluster-members
For reference, please see SHCrollingupgrade in Related Links section below.
Enable feature flag by setting the following in $SPLUNK_HOME/etc/system/local/server.conf for all Search Head Cluster members
[kvstore] storageEngineMigration = true
* If set to true, perform KV Store WiredTiger upgrade during Splunk upgrade.
* If set to false, no upgrade will be performed.
* Default: true
$SPLUNK_HOME/bin/splunk restartClean the KV Store cluster:
$SPLUNK_HOME/bin/splunk clean kvstore --clusterNote** "--cluster" : This deletes only cluster information (Replica Set config, oplog etc.) - i.e. it removes local.* files from $SPLUNK_DB/kvstore/mongo folder
$SPLUNK_HOME/bin/splunk show kvstore-statusVerify Search Head Cluster status:
$SPLUNK_HOME/bin/splunk show shcluster-status -auth <username>:<password>
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
29-Sep-2026
|
Initial Release |