Uploaded image for project: 'Blazegraph (by SYSTAP)'
  1. Blazegraph (by SYSTAP)
  2. BLZG-438

Make the BigdataSail UNISOLATED connection global in scope.

    Details

      Description

      BigdataSail#getUnisolatedConnection() uses a semaphore to impose the restriction that there can be at most one writer with the UNISOLATED connection at a given time. However, the semaphore is scoped by the BigdataSail instance and is thus unable to protect against applications which wrap the UNISOLATED view of a triple store instance more than once. Further, for ACID semantics in the standalone database, there should really only be a single UNISOLATED connection regardless of which triple store instance is address. E.g., if you have two different triple stores in the same database, the UNISOLATED connection should be restricted such that only one thread for one of those stores can hold that connection at a time. As it stands, it is possible for one thread to be granted that connection for each of those distinct triple store instances. However, doing so weakens the ACID semantics of an operation on the UNISOLATED connection since a commit invoked against one triple store could cause writes to be flushed through and incorporated into a commit point for another triple store.

      This issue exists in the trunk and in the quads branch. It should be fixed in both.

        Activity

        beebs Brad Bebee created issue -
        beebs Brad Bebee made changes -
        Field Original Value New Value
        Workflow Trac Import v2 [ 12274 ] Trac Import v3 [ 13862 ]
        beebs Brad Bebee made changes -
        Workflow Trac Import v3 [ 13862 ] Trac Import v4 [ 15191 ]
        beebs Brad Bebee made changes -
        Workflow Trac Import v4 [ 15191 ] Trac Import v5 [ 16577 ]
        beebs Brad Bebee made changes -
        Labels Issue_patch_20150625
        beebs Brad Bebee made changes -
        Status Closed - Won't Fix [ 6 ] Open [ 1 ]
        beebs Brad Bebee made changes -
        Status Open [ 1 ] Accepted [ 10101 ]
        beebs Brad Bebee made changes -
        Status Accepted [ 10101 ] In Progress [ 3 ]
        beebs Brad Bebee made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        beebs Brad Bebee made changes -
        Status Resolved [ 5 ] In Review [ 10100 ]
        beebs Brad Bebee made changes -
        Resolution Fixed [ 1 ] Done [ 10000 ]
        Status In Review [ 10100 ] Done [ 10000 ]
        beebs Brad Bebee made changes -
        Workflow Trac Import v5 [ 16577 ] Trac Import v6 [ 17817 ]
        beebs Brad Bebee made changes -
        Workflow Trac Import v6 [ 17817 ] Trac Import v7 [ 19214 ]
        beebs Brad Bebee made changes -
        Workflow Trac Import v7 [ 19214 ] Trac Import v8 [ 20835 ]

          People

          • Assignee:
            bryanthompson bryanthompson
            Reporter:
            bryanthompson bryanthompson
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: