Details
-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
Cheshire-Cat
-
Untriaged
-
Centos 64-bit
-
1
-
Unknown
Description
Build: 7.0.0-4103
The following backup:
{
|
"uuid": "1452cfc7ff854307", |
"indexDefs": { |
"idx1": { |
"type": "fulltext-index", |
"name": "idx1", |
"uuid": "", |
"sourceType": "gocbcore", |
"sourceName": "b1", |
"planParams": { |
"maxPartitionsPerPIndex": 171 |
},
|
"params": { |
"doc_config": { |
"docid_prefix_delim": "", |
"docid_regexp": "", |
"mode": "scope.collection.type_field", |
"type_field": "type" |
},
|
"mapping": { |
"analysis": {}, |
"default_analyzer": "standard", |
"default_datetime_parser": "dateTimeOptional", |
"default_field": "_all", |
"default_mapping": { |
"dynamic": false, |
"enabled": false |
},
|
"default_type": "_default", |
"docvalues_dynamic": true, |
"index_dynamic": true, |
"store_dynamic": false, |
"type_field": "_type", |
"types": { |
"s1.c1": { |
"default_analyzer": "standard", |
"dynamic": true, |
"enabled": true |
}
|
}
|
},
|
"store": { |
"indexType": "scorch", |
"mossStoreOptions": {}, |
"segmentVersion": 15 |
}
|
},
|
"sourceParams": {} |
}
|
},
|
"implVersion": "5.5.0" |
}
|
cannot be loaded using the following endpoint
curl -POST -H "Content-Type: application/json" -u <username>:<password> http://<your_ip>:<your_port>/api/v1/backup -d '@backup.json' |
it gives the following server response:
{"error":"rest_backup_restore: processRemapRequest failed, err: index remapping error: rest_backup_restore: indexName: idx1, validation errs: invalid input","request":"","status":"fail"} |