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

Time taken to delete a user increase exponentially with number of subwikis

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 3.5.1
    • Administration
    • Unknown
    • N/A
    • N/A

    Description

      Based on a client project (XEM 100+ wikis), XWiki has an issue when deleting a user in a farm with a lot of sub-wikis.
      If I understood correctly how the process works, when deleting a user, XWiki checks in all wikis if this user is in a group or not. Besides this check, it also checks if the user has rights associated to a document.

      Still based on a client project, deleting such user is very long, more than 15 minutes.
      Currently the wiki is on 3.5.1.

      Attachments

        1. Deleting1UserFrom1000OrLessUsers.png
          142 kB
          Eduard Moraru
        2. Deleting1UserFrom100OrLessUsersWith100EmptyWikis.png
          78 kB
          Eduard Moraru
        3. Deleting1UserFrom100with100OrLessWikis.png
          84 kB
          Eduard Moraru
        4. Main.TestDeleteUserPerformance.xar
          2 kB
          Eduard Moraru
        5. XWIKI-9641-Time-taken-to-delete-an-user.ods
          164 kB
          Eduard Moraru

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nlemoine Nicolas Lemoine
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: