Details
-
Bug
-
Resolution: Fixed
-
Critical
-
4.5.0
-
4.5.0-2489
-
Untriaged
-
Unknown
Description
1.create a bucket with 1000 docs and create moi indexes using defer_build=True.Make sure you have enough memory for moi indexes.
2. Take backup of this bucket using new cbbackupmgr.
./cbbackupmgr config --archive /tmp/backup --repo simple_table —-host http://127.0.0.1:8091 —-username Administrator —-password password
./cbbackupmgr backup --archive /tmp/backup --repo simple_table --host http://172.23.107.87:8091 --username Administrator --password password
I am attaching the backup taken in this bug.
3. Do cbrestore using this command:
./cbbackupmgr restore --archive /tmp/backup --repo simple_table --host http://172.23.107.56:8091 --username Administrator --password password
Restore happens correctly and we see 1000 documents restored in the bucket on 172.23.107.56.
4. Check query tab. Try expanding simple_table in bucket analyzer, you dont see the list of fields there.Please see attachment.
5. Result of infer command in query tab:
{ "status": "Unexpected server error" }6. Result of infer command in cbq:
cbq> infer simple_table;
N1QL: Query nodes not responding
I am able to execute other queries. Attaching logs from machine on which bucket is restored.
Please let me know if you need more logs.