[jboss-cvs] JBoss Messaging SVN: r3041 - trunk/src/main/org/jboss/messaging/core/impl.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Aug 23 10:30:58 EDT 2007
Author: timfox
Date: 2007-08-23 10:30:58 -0400 (Thu, 23 Aug 2007)
New Revision: 3041
Modified:
trunk/src/main/org/jboss/messaging/core/impl/PagingChannelSupport.java
Log:
little more logging
Modified: trunk/src/main/org/jboss/messaging/core/impl/PagingChannelSupport.java
===================================================================
--- trunk/src/main/org/jboss/messaging/core/impl/PagingChannelSupport.java 2007-08-23 14:21:51 UTC (rev 3040)
+++ trunk/src/main/org/jboss/messaging/core/impl/PagingChannelSupport.java 2007-08-23 14:30:58 UTC (rev 3041)
@@ -281,7 +281,8 @@
if (!toRemove.isEmpty())
{
// Now we remove the references we loaded (only the non persistent or persistent in a non-recoverable store)
-
+ if (trace) { log.trace(this + " removing depaged refs " + toRemove.size()); }
+
pm.removeDepagedReferences(channelID, toRemove);
}
@@ -290,11 +291,15 @@
// If we loaded any reliable refs then we must set the page ordering to null in
// the store otherwise they may get loaded again, the next time we do a load
// We can't delete them since they're reliable and haven't been acked yet
+
+ if (trace) { log.trace("Updating refs not paged"); }
pm.updateReferencesNotPagedInRange(channelID, firstPagingOrder, firstPagingOrder + number - 1, number - unreliableNumber);
}
firstPagingOrder += number;
+
+ if (trace) { log.trace(this + " set firstPagingOrder to " + firstPagingOrder); }
if (firstPagingOrder == nextPagingOrder)
{
More information about the jboss-cvs-commits
mailing list