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

[CBM] Investigate improving lockfile implementation

    XMLWordPrintable

Details

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

    Description

      The way we currently lock archives in cbbackupmgr can keep stale lockfiles around if cbbackupmgr fails to sync with the remote archive (e.g. CBSE-14817), preventing other instances of cbbackupmgr from operating on that archive if they have a different host name. There may be better ways we can lock archives which reduce the probability of stale lockfiles being left around. 

      Considerations

      • The "lock" should still work. Multiple cbbackupmgr instances running on the same archive would be very bad. Better to have stale lockfiles which need to be manually deleted than a broken repo/archive.
      • Any improvements should be backwards compatible i.e. would this still work if there was another backup node in the cluster running an older version?

      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
              safian.ali Safian Ali
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty