Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-22331

Old Eventual Binary Provider task-manager: implement as a background job

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Done
    • Priority: 4 - Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 7.7.0
    • Component/s: None
    • Labels:

      Description

      The new CNHA mechanism for the old eventual provider uses an approach that acquires the role of the manager once (first node to start up, doesn't matter which), unlike the original mechanism that ran only on the primary node. 

       

      This can create a possible confusion as to which node runs the manager as there is no easy way to tell which one holds the lock, which one should be restarted if crashed, and it takes up to ~30m for an orphan lock of this type to be cleaned. 

      A better implementation would be to create a background job that runs on all nodes and eagerly tries to acquire the task manager role in case the owner shuts down during runtime. This will eliminate the requirement in restart and the need to know which node holds the role. 

        Attachments

          Activity

            People

            Assignee:
            aviva Aviv Anidjar
            Reporter:
            uriahl Uriah Levy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Sync Status

                Connection: RTFACT Sync
                RTMID-22331 -
                SYNCHRONIZED
                • Last Sync Date: