Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-250

StoreConnection.release will empty repository if last action is not a query

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • TDB 0.9.0
    • TDB 0.9.1
    • TDB
    • None
    • Windows

    Description

      Whenever the last activity before releasing a store (with StoreConnection.release) is a write transaction, the entire database is empty the next time you create a dataset. I should note that this only happens when you start with a new index store. If you release the store after a write transaction on a store which was created the first time around where you did not end with a write transaction, the problem will not occur.

      I attached a little test case which illustrates the problem. Just provide a new index location as a java argument (or hard code it)

      Attachments

        1. TestReleaseStore.jar
          6.46 MB
          Simon Helsen
        2. src.zip
          3 kB
          Simon Helsen

        Activity

          People

            andy Andy Seaborne
            shelsen Simon Helsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: