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

Copier's cleanupFiles is independent from the Copier's KeyPrefix value

    XMLWordPrintable

Details

    • Untriaged
    • 0
    • Unknown

    Description

      For codebook, GSI is initialising a copier struct during rebalance, for file transfer and cleanup due to any failed rebalance.
      As part of the constructor for copier, a KeyPrefix is passed to the copier. This KeyPrefix is assumed to be contained in the path for any transfer and cleanup.

      But as part of the cleanupFiles, the removeDir in Plama's RPC Server check if the PlasmCopyPrefix is contained the file's path. 

      This causes the codebook cleanup to fail as for Codebook transfer, GSI creates another folder under the staging2 directory for codebook transfer. (/data/@2i/staging2/codebook_v1/ ).

      Attachments

        Activity

          People

            saptarshi.sen Saptarshi Sen
            shivansh.rustagi Shivansh Rustagi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty