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

Unanswered job questions can block the wiki

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 13.10.4
    • Fix Version/s: None
    • Component/s: Job
    • Labels:
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      As more and more job questions get implemented, we are experiencing more users blocking their wiki because they have either closed a tab that was asking them a job question (XWIKI-14314) or because they have started some job that contained a question that never made it to the UI (XWIKI-19727).

      The blocking comes from the usage of grouped jobs that effectively block execution of others from the same group, depending on the scope: wiki, farm, page with clientele, etc. The biggest problem is with refactoring jobs or EM install/uninstall jobs that do tend to block tthe entire wiki or even the farm.

      We need a solution to manage this problem at the product level.

      Possible solutions:

      1. Best practice: Have each UI that starts a job first check and report any other currently running jobs that have pending questions. For admin actions, it would be shared to all admins, while for user actions (e.g. deleted, etc.) it would be visible only to the user that started the action and maybe to admins as well.
      2. Notification level: Notify the user each time they receive a question so they can come back to it regardless on which page they are at the time.
      3. Timeout: Make sure that we never ask a question without assigning it a (reasonable) timeout. This way the wiki gets unblocked eventually while adding the need from the developers to specify a reasonable default answer to the questions they ask in jobs.
      4. Jobs management application for admins: XWIKI-19215

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              enygma Eduard Moraru
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: