[rhmessaging-commits] rhmessaging commits: r2144 - store/trunk/cpp/lib.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Fri Jun 6 15:03:42 EDT 2008


Author: kpvdr
Date: 2008-06-06 15:03:42 -0400 (Fri, 06 Jun 2008)
New Revision: 2144

Modified:
   store/trunk/cpp/lib/TxnCtxt.h
Log:
Fix for BZ "450339: [journal] commit and abort rids out-of-order in journal". Added missing external_rid flag to data token before commit/abort operation.

Modified: store/trunk/cpp/lib/TxnCtxt.h
===================================================================
--- store/trunk/cpp/lib/TxnCtxt.h	2008-06-06 15:52:24 UTC (rev 2143)
+++ store/trunk/cpp/lib/TxnCtxt.h	2008-06-06 19:03:42 UTC (rev 2144)
@@ -74,6 +74,7 @@
             if (jc && loggedtx) { /* if using journal */
                 boost::intrusive_ptr<DataTokenImpl> dtokp(new DataTokenImpl);
                 dtokp->addRef();
+                dtokp->set_external_rid(true);
                 dtokp->set_rid(loggedtx->next());
                 try{
                     if (commit)




More information about the rhmessaging-commits mailing list