Author: rgemmell
Date: 2011-05-26 06:23:44 -0400 (Thu, 26 May 2011)
New Revision: 4461
Modified:
store/branches/java/0.5.x-dev/src/tools/java/org/apache/qpid/server/store/berkeleydb/BDBStoreUpgrade.java
Log:
Fix incorrect log message for delivery record and exchange record counters
Applied patch from Oleksandr Rudyy
Modified:
store/branches/java/0.5.x-dev/src/tools/java/org/apache/qpid/server/store/berkeleydb/BDBStoreUpgrade.java
===================================================================
---
store/branches/java/0.5.x-dev/src/tools/java/org/apache/qpid/server/store/berkeleydb/BDBStoreUpgrade.java 2011-05-19
16:11:13 UTC (rev 4460)
+++
store/branches/java/0.5.x-dev/src/tools/java/org/apache/qpid/server/store/berkeleydb/BDBStoreUpgrade.java 2011-05-26
10:23:44 UTC (rev 4461)
@@ -470,7 +470,7 @@
//Perform the visit
_oldMessageStore.visitQueues(queueVisitor);
- logCount(queueVisitor.getVisitedCount(), "queue");
+ logCount(queueVisitor.getVisitedCount(), "Queue");
_logger.info("Delivery Records");
//Migrate _deliveryDb;
@@ -491,7 +491,7 @@
};
_oldMessageStore.visitDelivery(deliveryDBVisitor);
- logCount(queueVisitor.getVisitedCount(), "Delivery Record");
+ logCount(deliveryDBVisitor.getVisitedCount(), "Delivery Record");
_logger.info("Exchanges");
//Migrate _exchangeDb;
@@ -516,7 +516,7 @@
};
_oldMessageStore.visitExchanges(echangeDBVisitor);
- logCount(queueVisitor.getVisitedCount(), "Exchange");
+ logCount(echangeDBVisitor.getVisitedCount(), "Exchange");
_logger.info("QueueBindings");
@@ -543,7 +543,7 @@
};
_oldMessageStore.visitBindings(queueBindings);
- logCount(queueBindings.getVisitedCount(), "queue binding");
+ logCount(queueBindings.getVisitedCount(), "Queue Binding");
}
/**
Show replies by date