Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-45724

Internal error is raised while doing bucket level restore on CBAS

    XMLWordPrintable

Details

    Description

      Steps to reproduce - 

      1. Create KV infra
      2. Create CBAS infra
      3. Take backup using bucket level API "/api/v1/bucket/[BUCKET]/backup" with args include or exclude
      4. Validate backed up metadata
      5. Drop CBAS infra
      6. Restore using backed up metadata

      2021-04-16 15:44:21,549 | infra | ERROR   | MainThread | [Rest_Connection:_http_request:253] POST http://10.112.205.102:8095/api/v1/bucket/Y4FkS%0gXB7qxEPj-18-492000/backup body: {"version": 2, "requestID": "c603f286-6845-4c79-b7be-89bab77c46b0", "metrics": {"resultCount": 1, "processedObjects": 45, "executionTime": "517.985846ms", "resultSize": 1553, "elapsedTime": "528.440315ms"}, "results": [{"datasets": [{"indices": [{"IndexStructure": "BTREE", "Timestamp": "Fri Apr 16 03:06:04 PDT 2021", "SearchKeyType": ["string"], "IndexName": "I1B", "DatasetName": "rgK", "SearchKey": [["name"]], "IsPrimary": false, "DataverseName": "Default", "PendingOp": 0}], "dataset": {"GroupName": "Default.rgK", "LinkName": "Local", "MetatypeName": "DCPMeta", "CompactionPolicyProperties": [{"Name": "max-component-count", "Value": "30"}, {"Name": "min-merge-component-count", "Value": "3"}, {"Name": "max-merge-component-count", "Value": "10"}, {"Name": "size-ratio", "Value": "1.2"}], "Hints": [], "CollectionName": "48POGi9EPTv-bErt9-18-495000", "DatasetType": "INTERNAL", "Timestamp": "Fri Apr 16 03:06:02 PDT 2021", "DatasetId": 103, "DatatypeDataverseName": "Metadata", "BlockLevelStorageCompression": {"DatasetCompressionScheme": "snappy"}, "InternalDetails": {"FileStructure": "BTREE", "Autogenerated": false, "PrimaryKey": [["id"]], "PartitioningKey": [["id"]], "PartitioningStrategy": "HASH", "KeySourceIndicator": [1]}, "BucketDataverseName": "Default", "BucketName": "Y4FkS%0gXB7qxEPj-18-492000", "ScopeName": "e8VUaVFDSSQnhp6-18-495000", "DatatypeName": "AnyObject", "DatasetName": "rgK", "CollectionId": "9", "DataverseName": "Default", "CompactionPolicy": "concurrent", "MetatypeDataverseName": "Metadata", "PendingOp": 0}}], "dataverse": {"Timestamp": "Fri Apr 16 03:05:11 PDT 2021", "DataFormat": "org.apache.asterix.runtime.formats.NonTaggedDataFormat", "DataverseName": "Default", "PendingOp": 0}}], "status": "success"} headers: {'Accept': '*/*', 'Connection': 'close', 'Authorization': 'Basic QWRtaW5pc3RyYXRvcjpwYXNzd29yZA==', 'Content-Type': 'application/x-www-form-urlencoded'} error: 500 reason: unknown {
      	"errors": [{ 
      		"code": 25000,		"msg": "Internal error"	} 
      	],
      	"status": "fatal",
      	"metrics": {
      		"elapsedTime": "1.946385ms",
      		"executionTime": "0ns",
      		"resultCount": 0,
      		"resultSize": 0,
      		"processedObjects": 0,
      		"errorCount": 1
      	}
      } auth: Administrator:password
      

      This test case was working with build 7.0.0-4907

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              umang.agrawal Umang
              umang.agrawal Umang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty