Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-25268

Link and mention analysis tasks queued by a cluster member that never comes back are never executed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 14.1
    • Index, Mentions
    • None
    • Unknown

    Description

      Problem

      The link and mention analysis tasks are stored with the identifier of the member that queued them, and each member only executes its own tasks. When a member never comes back with the same identifier (scale down of the cluster, identifier changed), its tasks which were not executed yet stay in the database forever: the mentioned users are never notified and the links of the document are not updated.

      Proposal

      Once a member has been absent for observation.remote.reclaimDelay, the cluster singleton node takes over its tasks queued before it left (in all the wikis) and executes them. Taking over is done in the database, so a member which comes back does not execute them a second time (a mention task is not idempotent). Remote observation disabled: no change.

      Attachments

        Issue Links

          Activity

            People

              ciaens Clément Christiaens
              ciaens Clément Christiaens
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: