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

[CBM] When populating staging directory we should not create files for directories

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • Morpheus
    • master
    • tools
    • None
    • 0

    Description

      What is the problem?
      In a customer issue, we found that cbbackupmgr does not work correctly when using an Azure container backed by DataLake Gen 2. One of the issues found was when populating the staging directory we would create a file for a directory. This is because IterateObjects will return directories and our population code assumes it doesn't - it always creates a file for every object given to it by IterateObjects.

      What is the solution?
      We should probably alter our staging directory code to skip creating files for directories (based on the IsDir flag).

      Attachments

        Issue Links

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

          Activity

            People

              owend Daniel Owen
              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