Details
-
Bug
-
Resolution: Fixed
-
Critical
-
Cheshire-Cat
-
Untriaged
-
1
-
No
Description
What's the issue?
'cbbackupmgr' is failing to create a backup of 7.0.0 clusters due to an EOF error; this should only affect builds from 7.0.0-3344.
$ cbbackupmgr backup -a ~/Projects/couchbase-archive -r repo -c localhost:9000 -u Administrator -p asdasd --threads 8
|
Backing up to '2020-10-08T17_02_32.176087315+01_00'
|
Transferring full text index aliases 0 items / 0B
|
[ ] 0.19%
|
Error backing up cluster: EOF
|
Looking at the logs, this is because we're failing to execute requests to the collection aware FTS endpoint.
2020-10-08T17:19:54.264+01:00 ERRO: (REST) (Attempt 1) (GET) Failed to dispatch request to 'http://localhost:9206/api/v1/backup': Get "http://localhost:9206/api/v1/backup": EOF -- rest.(*Request).execute() at request.go:201
|
Manually looking at what's returned by the endpoint tells us what the issue is; we're receiving an empty body.
$ curl -u Administrator:asdasd "localhost:9206/api/v1/bucket/default/backup?include=default"
|
curl: (52) Empty reply from server
|
Is there a workaround?
Yes, once we've created/edited/deleted some FTS indexes/aliases, we will receive a non empty body from FTS.
$ curl -s -u Administrator:asdasd "localhost:9206/api/v1/bucket/default/backup?include=default" | jq
|
{
|
"status": "ok",
|
"indexDefs": {
|
"uuid": "1ea52db434ea0c5d",
|
"indexDefs": {},
|
"implVersion": "5.5.0"
|
}
|
}
|
Attachments
Issue Links
- is caused by
-
MB-41921 FTS backup endpoint returns a empty body until an index has been created
- Closed