Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-9004

Race condition exists in certificate issuance (duplicate certs)

XMLWordPrintable

    • MOODLE_311_STABLE
    • MOODLE_311_STABLE

      CONTRIB-8909 changed the way certs are issued to significantly reduced the chances of a race condition that results in a certificate getting issued twice for a user.

      Unfortunately it did not eliminate it entirely, because helper::issue_certificate() doesn't use a lock around checking if the cert exists and issuing the new one.

      We have a client with high enough traffic that they are hitting this particular lotto periodically, creating duplicate certificate records.

            marina Marina Glancy
            emerrill Eric Merrill
            Ruslan Kabalin Ruslan Kabalin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.