Uploaded image for project: 'netvirt'
  1. netvirt
  2. NETVIRT-632

Rework busy lock when allocating id's

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Resolution: Cannot Reproduce
    • Carbon
    • None
    • General
    • None
    • Operating System: All
      Platform: All

    Description

      Messages from Koby and Peri:

      Koby:

      Another thought here - even if we fix the root cause, I think we must remove this busy loop. This totally breaks the system when occurring
      Peri:

      Looks like this issue occurred when an idKey is not unlocked accidentally in IdManager which leads to LockManager#lock goes into busy spin. But this is a corner case due to a bug.

      We could avoid it by thread wait/notify by Async Clustered DTCN on lock (since lock is stored in MD-SAL), upon remove DCN, waiting threads can be notified for the particular lock. Not sure its worth to do it now and should be done as an enhancement since it needs more testing effort.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            shague Sam Hague
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: