manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Wright (JIRA)" <>
Subject [jira] [Created] (CONNECTORS-1126) Lock manager's lock ordering not working as designed
Date Fri, 19 Dec 2014 07:24:13 GMT
Karl Wright created CONNECTORS-1126:

             Summary: Lock manager's lock ordering not working as designed
                 Key: CONNECTORS-1126
             Project: ManifoldCF
          Issue Type: Bug
          Components: Framework core
    Affects Versions: ManifoldCF 1.7.2
            Reporter: Karl Wright
            Assignee: Karl Wright
             Fix For: ManifoldCF 1.9, ManifoldCF 2.1

The LockGate logic for flushing a LockGate is as follows:

    synchronized (lockObject)
      if (lockObject.leaveReadLock())
        if (lockPool != null)
          lockPool.releaseObject(lockKey, this);

Unfortunately, this has the side effect of causing the nicely build thread queue to be destroyed
on the first time a lock is exited.  That kills ordering and makes LockGate essentially do
nothing of value.

This message was sent by Atlassian JIRA

View raw message