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

Enable group commit by default

    XMLWordPrintable

    Details

      Description

      These changes need to be made in a few different places:

      WEB-INF/RWStore.properties::

      com.bigdata.journal.Journal.groupCommit=true
      

      WEB-INF/GraphStore.properties::

      com.bigdata.journal.Journal.groupCommit=true
      

      src/resources/HAJournal/HAJournal.config::

            new NV(com.bigdata.journal.Journal.Options.GROUP_COMMIT,System.getProperty("groupCommit","true")),
      

      config.sh::

      #Group commit (true|false)
      
      if [ -z "${GROUP_COMMIT}" ] ; then
      	export GROUP_COMMIT=false
      fi
      

      TestNanoSparqlServerWithProxyIndexManager:

            // Enable GROUP_COMMIT. See #566.
            properties.setProperty(com.bigdata.journal.Journal.Options.GROUP_COMMIT,
                  "true");
      

      bigdata-jini/src/main/java/HAJournal-[ABC].config

            new NV(com.bigdata.journal.Journal.Options.GROUP_COMMIT,System.getProperty("groupCommit","false")),
      

      bigdata-jini/src/test/resources/com/bigdata/journal/jini/ha/HAJournal-[ABCDE].config

            new NV(com.bigdata.journal.Journal.Options.GROUP_COMMIT,System.getProperty("groupCommit","false")),
      

      bigdata-jini/src/test/com/bigdata/journal/ha/TestAll: disable the HA Group Commit test suite.

      //        suite.addTestSuite(TestHA1GroupCommit.class);
      //        suite.addTestSuite(TestHA3GroupCommit.class);
      

      TODO: Update the wiki page to indicate that this feature is no longer beta and re-verify the API examples.

      Workaround: group commit can be enabled before the 1.5.2 release by overriding the appropriate parameter.

      See http://wiki.bigdata.com/wiki/index.php?title=GroupCommit
      See BLZG-670 (Group commit and unisolated writers)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 3 days
                  3d
                  Remaining:
                  Remaining Estimate - 3 days
                  3d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified