Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-8547

Avoid race condition while generating CRLs in paralell

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Provenance:
      Ordered by Customer
    • Issue discovered during:
      Customer

      Description

      Problem:
      If calls from the application to the CreateCRL Webservices API were running either in parallel with each other or with a regular CRLUpdate service execution, "NonUniqueResultException" is thrown.

      Possible Solution:
      Enable “locking” of some sort so that it is impossible via the API or otherwise to have concurrent CRL creation happening.
      The issue(NonUniqueResultException) is stemming from the fact that two independent processes are triggering a CRL creation for the same CA at almost the same time. Being able to lock that process so only a single CRL can be generated at once would of course prevent that.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              rubinaa Rubina Akram
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: