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

cbimport error when importing two sample data

    XMLWordPrintable

Details

    • Triaged
    • 0
    • Yes

    Description

      This only happens on 7.1.4.  When 2 or more sample data are imported using cbimport, I am getting the following errors:

      2023-01-18T19:04:55.132+00:00 JSON import failed: failed to execute cluster operations: failed to execute bucket operation for bucket 'gamesim-sample': failed to transfer index definitions for bucket 'gamesim-sample': failed to transfer views: failed to set view definitions: failed to put view definitions: failed to put view definition: failed to execute request: failed to execute request: exhausted retry count after 3 retries, last error: internal server error executing 'PUT' request to '/couchBase/gamesim-sample/_design%2Fplayers': {"error":"noproc","reason":"{gen_server,call,\n            [couch_system_event,\n             \{system_event,<<\"{\\\"timestamp\\\":\\\"2023-01-18T19:04:55.030Z\\\",\\\"uuid\\\":\\\"f4c197db-ffe4-473a-13bf-a26c4aa99a6b\\\",\\\"event_id\\\":10242,\\\"component\\\":\\\"views\\\",\\\"description\\\":\\\"Ddoc modified\\\",\\\"severity\\\":\\\"info\\\",\\\"extra_attributes\\\":{\\\"bucket\\\":\\\"gamesim-sample\\\",\\\"ddoc\\\":\\\"_design/players\\\",\\\"num_views\\\":2}}\">>}]}"}

      JSON import failed: internal server error executing 'PUT' request to '/couchBase/gamesim-sample/_design%2Fplayers': {"error":"noproc","reason":"{gen_server,call,\n            [couch_system_event,\n             \{system_event,<<\"{\\\"timestamp\\\":\\\"2023-01-18T19:04:55.030Z\\\",\\\"uuid\\\":\\\"f4c197db-ffe4-473a-13bf-a26c4aa99a6b\\\",\\\"event_id\\\":10242,\\\"component\\\":\\\"views\\\",\\\"description\\\":\\\"Ddoc modified\\\",\\\"severity\\\":\\\"info\\\",\\\"extra_attributes\\\":{\\\"bucket\\\":\\\"gamesim-sample\\\",\\\"ddoc\\\":\\\"_design/players\\\",\\\"num_views\\\":2}}\">>}]}"}

       

      Steps to reproduce:

      1. install couchbase-server-enterprise_7.1.4-3560-ubuntu20.04_amd64.deb on ubuntu20

      2. setup a new cluster with default config

      3. run "/opt/couchbase/bin/cbimport json -c localhost:8091 -u Administrator -p couchbase -b beer-sample -d file:///opt/couchbase/samples/beer-sample.zip -f sample -v"

      4. run "/opt/couchbase/bin/cbimport json -c localhost:8091 -u Administrator -p couchbase -b gamesim-sample -d file:///opt/couchbase/samples/gamesim-sample.zip -f sample -v

      Note, the order of #3 & #4 doesn't matter.  This only happens when gamesim-sample is involved.  beer-sample and travel-sample can be import at the same time. Import of gamesim-sample by itself works fine.

      Attachments

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

        Activity

          People

            ashwin.govindarajulu Ashwin Govindarajulu
            ming.ho Ming Ho
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty