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

Couchbase 6.5 cbrestore - error in pump_mc.py: struct.error: int too large to convert

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • 6.5.0
    • tools
    • None
    • Triaged
    • 1

    Description

      Raised on the forum

      Hi,
      We are facing issue in restoring cbbackup from Couchbase 4.5.1 to 6.5.1. Process terminates with following error.

      [root@localhost bkp]# /opt/couchbase/bin/cbrestore -u Administrator -p ******* /root/bkp/ http://127.0.0.1:8091 --bucket-source=person-data --bucket-destination=person-data
      Exception in thread s0:] 17.7% (114000/estimated 642907 msgs)
      Traceback (most recent call last):
      File “/opt/couchbase/lib/python/runtime/lib/python3.7/threading.py”, line 917, in _bootstrap_inner
      self.run()
      File “/opt/couchbase/lib/python/runtime/lib/python3.7/threading.py”, line 865, in run
      self._target(*self._args, **self._kwargs)
      File “/opt/couchbase/lib/python/pump_mc.py”, line 112, in run
      rv, batch, need_backoff = self.scatter_gather(mconns, batch)
      File “/opt/couchbase/lib/python/pump_cb.py”, line 88, in scatter_gather
      vbucket_id=vbucket_id)
      File “/opt/couchbase/lib/python/pump_mc.py”, line 233, in send_msgs
      conf_res) # type: ignore
      File “/opt/couchbase/lib/python/pump_mc.py”, line 595, in cmd_request
      ext = struct.pack(">IIQQI", flg, exp, int.from_bytes(meta, byteorder=‘big’), cas, force)
      struct.error: int too large to convert
      

      It may not be the same as MB-38683. See the discussion on the following thread.
      Cbrestore - Couchbase 4.5 dump to Couchbase 6.5 shows error after 17% of restoring

      Attachments

        Issue Links

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

          Activity

            People

              pvarley Patrick Varley (Inactive)
              raju Raju Suravarjjala
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty