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

[CBBS] Merges do not respect timezone

    XMLWordPrintable

Details

    • Untriaged
    • 0
    • Unknown

    Description

      What is the problem?
      When the backup service specifies the merge date range it does so using the short date format (dd-mm-yyyy). When this is parsed by cbbackupmgr time.Parse is used, which will parse into UTC if there is no timezone specified. This can cause us to miss backups that should be merged, which happened in the customer case.

      What is the solution?
      We should use the full date format (RFC3339Nano) when specifying the merge date range

      Attachments

        Issue Links

          For Gerrit Dashboard: MB-58028
          # Subject Branch Project Status CR V

          Activity

            People

              Matt.Hall Matt Hall
              Matt.Hall Matt Hall
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty