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

[EntBackup] range.json - uuid is zeroed for 'current' of a vbucket if seqno is 0 in 'current' of last backup range.json

    XMLWordPrintable

Details

    • Untriaged
    • Unknown

    Description

      5.0.0-3078 - Steps followed:

      1. Configure a backup repo
      2. Take 3 incremental backups - copy range.json for each backup to different location
      3. Merge backup - copy range.josn file to different location

      range1. json:
      "1": {
      "last": {
      "snap_end": 0,
      "snap_start": 0,
      "seqno": 0,
      "purge_seqno": 0,
      "log": {
      "log": [

      { "seqno": 0, "uuid": 0 }

      ],
      "size": 1
      }
      },
      "current": {
      "seqno": 0,
      "purge_seqno": 0,
      "log": {
      "log": [

      { "seqno": 0, "uuid": 267608282516981 }

      ],
      "size": 1
      }
      }
      },

      range3.json:
      "1": {
      "last": {
      "snap_end": 0,
      "snap_start": 0,
      "seqno": 0,
      "purge_seqno": 0,
      "log": {
      "log": [

      { "seqno": 0, "uuid": 0 }

      ],
      "size": 1
      }
      },
      "current": {
      "seqno": 0,
      "purge_seqno": 0,
      "log": {
      "log": [

      { "seqno": 0, "uuid": 267608282516981 }

      ],
      "size": 1
      }
      }
      },

      range4.json:
      "1": {
      "last": {
      "snap_end": 0,
      "snap_start": 0,
      "seqno": 0,
      "purge_seqno": 0,
      "log": {
      "log": [

      { "seqno": 0, "uuid": 0 }

      ],
      "size": 1
      }
      },
      "current": {
      "seqno": 0,
      "purge_seqno": 0,
      "log": {
      "log": [

      { "seqno": 0, "uuid": 0 }

      ],
      "size": 1
      }
      }
      },

      Note that in range4.json uuid is 0 in current where as it is expected to be 267608282516981 - this behaviour is observed only when seqno of current in last json file is 0 - otherwise it is reflecting expected behaviour - attaching all json files and backup logs

      Attachments

        1. backup.zip
          3.55 MB
        2. default-range-1.json
          302 kB
        3. default-range-2.json
          315 kB
        4. default-range-3.json
          315 kB
        5. range1.json
          480 kB
        6. range2.json
          493 kB
        7. range3.json
          494 kB
        8. range4.json
          479 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          This is really minor, but should be fixed for correctness. I'll submit a patch later tonight.

          mikew Mike Wiederhold [X] (Inactive) added a comment - This is really minor, but should be fixed for correctness. I'll submit a patch later tonight.

          Build 4.6.3-4024 contains backup commit 93f9d265bb6c7fcfa972118a10034cfd6a746aed with commit message:
          MB-24781: Always include the failover log from the data files
          https://github.com/couchbase/backup/commit/93f9d265bb6c7fcfa972118a10034cfd6a746aed

          build-team Couchbase Build Team added a comment - Build 4.6.3-4024 contains backup commit 93f9d265bb6c7fcfa972118a10034cfd6a746aed with commit message: MB-24781 : Always include the failover log from the data files https://github.com/couchbase/backup/commit/93f9d265bb6c7fcfa972118a10034cfd6a746aed

          Build 5.0.0-3113 contains backup commit a738ebca8f87145bd76d19cb0c6643edb6785181 with commit message:
          MB-24781: Always include the failover log from the data files
          https://github.com/couchbase/backup/commit/a738ebca8f87145bd76d19cb0c6643edb6785181

          build-team Couchbase Build Team added a comment - Build 5.0.0-3113 contains backup commit a738ebca8f87145bd76d19cb0c6643edb6785181 with commit message: MB-24781 : Always include the failover log from the data files https://github.com/couchbase/backup/commit/a738ebca8f87145bd76d19cb0c6643edb6785181

          Verified in 5.0.0-3118 - attaching range.json files

          arunkumar Arunkumar Senthilnathan (Inactive) added a comment - Verified in 5.0.0-3118 - attaching range.json files

          Build 5.0.0-3272 contains backup commit 93f9d265bb6c7fcfa972118a10034cfd6a746aed with commit message:
          MB-24781: Always include the failover log from the data files
          https://github.com/couchbase/backup/commit/93f9d265bb6c7fcfa972118a10034cfd6a746aed

          build-team Couchbase Build Team added a comment - Build 5.0.0-3272 contains backup commit 93f9d265bb6c7fcfa972118a10034cfd6a746aed with commit message: MB-24781 : Always include the failover log from the data files https://github.com/couchbase/backup/commit/93f9d265bb6c7fcfa972118a10034cfd6a746aed

          Build 5.1.0-1013 contains backup commit 93f9d265bb6c7fcfa972118a10034cfd6a746aed with commit message:
          MB-24781: Always include the failover log from the data files
          https://github.com/couchbase/backup/commit/93f9d265bb6c7fcfa972118a10034cfd6a746aed

          build-team Couchbase Build Team added a comment - Build 5.1.0-1013 contains backup commit 93f9d265bb6c7fcfa972118a10034cfd6a746aed with commit message: MB-24781 : Always include the failover log from the data files https://github.com/couchbase/backup/commit/93f9d265bb6c7fcfa972118a10034cfd6a746aed

          People

            mikew Mike Wiederhold [X] (Inactive)
            arunkumar Arunkumar Senthilnathan (Inactive)
            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