Caching of groups insufficient for very large user directories

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 4.8.0
    • Affects Version/s: 4.7.1
    • Component/s: None

      Summary

      When a licensed user is member of thousands of groups, nested or otherwise, the database load can become unacceptably high for some operations.

      Steps to Reproduce

      1. Create a user
      2. Associate the user with many groups (directly or through a user management system, e.g. JIRA, Crowd)
      3. Perform any operation with that user

      Expected Results

      The load on the database is fine.

      Actual Results

      The load on the database is high. This can be checked on the Bitbucket Server side by enabling the SQL debug log level.

      Workaround

      Make sure that only the number of required users are available in Bitbucket Server.

            Assignee:
            Christian
            Reporter:
            Christian
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: