Description
Build 7.0.0-5247
Create cluster: {kv}
{fts}, having additional {fts} node aside
Perform the following steps:
- Create bucket 'default'
- Load 500,000 docs into 'default'
- Create FTS index on 'default', everything is by default, index partitions=20
{
|
"name": "default_index_1", |
"type": "fulltext-index", |
"params": { |
"doc_config": { |
"docid_prefix_delim": "", |
"docid_regexp": "", |
"mode": "type_field", |
"type_field": "type" |
},
|
"mapping": { |
"default_analyzer": "standard", |
"default_datetime_parser": "dateTimeOptional", |
"default_field": "_all", |
"default_mapping": { |
"dynamic": true, |
"enabled": true |
},
|
"default_type": "_default", |
"docvalues_dynamic": true, |
"index_dynamic": true, |
"store_dynamic": false, |
"type_field": "_type" |
},
|
"store": { |
"indexType": "scorch", |
"mossStoreOptions": {}, |
"segmentVersion": 15 |
}
|
},
|
"sourceType": "gocbcore", |
"sourceName": "default", |
"sourceUUID": "b794cde760b14301a27aff739b303acc", |
"sourceParams": {}, |
"planParams": { |
"maxPartitionsPerPIndex": 52, |
"indexPartitions": 20, |
"numReplicas": 0 |
},
|
"uuid": "2a8d8156d6d1df16" |
}
|
- perform swap rebalance of fts nodes. Calculate rebalance time
- Update cluster setting: maxConcurrentPartitionMovesPerNode = 6
- perform swap rebalance of fts nodes once again, calculate time
Rebalance with default maxConcurrentPartitionMovesPerNode value takes 220 seconds,
rebalance with maxConcurrentPartitionMovesPerNode=6 takes 414 seconds