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

[CBM] Cannot restore generated backup due to MaxUint64

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Trivial
    • 7.6.0
    • master
    • tools
    • Untriaged
    • 0
    • No

    Description

      What is the problem?
      Safian Ali found that we cannot restore a {{cbbackupmgr generate}}d backup, getting this error:

      Error restoring cluster: sql: converting argument $1 type: uint64 values with high bit set are not supported
      

      Both database/sql and SQLite do not support uint64. This error is from using MaxUint64 as the snapshot end seqno, even though Couchbase itself only uses uint48 as seqnos.

      What is the solution
      We should use a smaller number as the snapshot end seqno (at most MaxInt64)

      Attachments

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

        Activity

          People

            gilad.kalchheim Gilad Kalchheim
            Matt.Hall Matt Hall
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty