Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-33250

Roster - Group membership details take a long time to populate

    Details

    • 11 status:
      Resolved
    • Test Plan:
      Hide

      Add roster to a site.
      Add some users and groups to the site.
      Check roster - the users should be listed, without groups. It should show 'ungrouped'.
      Add some users to some of the groups
      Check Roster - the users should have the groups listed in their rows, straight away.

      Show
      Add roster to a site. Add some users and groups to the site. Check roster - the users should be listed, without groups. It should show 'ungrouped'. Add some users to some of the groups Check Roster - the users should have the groups listed in their rows, straight away.

      Description

      ISSUE

      Once an instructor changes group membership, those changes can take 10+ minutes to be reflected in the Roster tool. Professors will often assume there is a bug or problem if changes are not reflected in close proximity to when the adjustments are made.

      I've used Trunk/MySQL, Google Chrome, and Windows 10 for reference.

      STEPS TO REPLICATE

      1. Create at least two users (e.g. instructor01, student01)
      2. Create a course or project site with announcements, assignments, roster
      3. Go to the new site
      4. "Site Info" > "Add Participants" and enroll the student account
      5. "Site Info" > "Manage Groups" and create one group called "Group Alpha-Beta-Charlie" and add the student user into that group. Click "Add" to save your work.
      6. Click the "Roster" tool – you'll see the instructor and student, and the student should be assigned to the new group. Nice!
      7. "Drat," you think to yourself, "I forgot something."  Return to "Site Info" > "Manage Groups" and create a second group called "Group Delta-Echo-Frank." Add the instructor into this group, click "Add" to save your work.
      8. Click "Roster"... and the new group membership is not reflected. (Instructor still has label "Ungrouped.") Start your timer...
      9. Click the "Roster" name in left menu or top tool name to refresh the tool data every 1-2 minutes. Throw in a browser refresh every now and again for good measure.
      10. If I stay within the Roster tool and only use the refresh option (click Tool name), it takes over 10 minutes for the update to happen.  If I refresh the tool, browser, go to other tools and other sites and return, the change in group membership takes about 5 minutes on average.

      I understand that there may be roster or name-lookup caching to improve performance. If the delay is a conscious design decision to address a problem for production performance (e.g. a site with 1000+ users), perhaps some logic on the user count might determine whether the refresh is immediate, short delay (60 seconds) or longer delay?

      Thank you for reviewing.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                a.fish@lancaster.ac.uk Adrian Fish
                Reporter:
                alanregan Alan Regan
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code