[rhmessaging-commits] rhmessaging commits: r4457 - store/branches/java/0.5.x-dev/src/tools/java/org/apache/qpid/server/store/berkeleydb.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Wed May 4 08:00:52 EDT 2011


Author: rgemmell
Date: 2011-05-04 08:00:49 -0400 (Wed, 04 May 2011)
New Revision: 4457

Modified:
   store/branches/java/0.5.x-dev/src/tools/java/org/apache/qpid/server/store/berkeleydb/BDBStoreUpgrade.java
Log:
Update Javadoc to account for latest changes

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-04 09:13:25 UTC (rev 4456)
+++ store/branches/java/0.5.x-dev/src/tools/java/org/apache/qpid/server/store/berkeleydb/BDBStoreUpgrade.java	2011-05-04 12:00:49 UTC (rev 4457)
@@ -62,19 +62,15 @@
 import com.sleepycat.bind.tuple.ByteBinding;
 
 /**
- * This is a simple BerkeleyDB Store upgrade tool that will upgrade a V1 Store to a V2 Store.
+ * This is a simple BerkeleyDB Store upgrade tool that will upgrade V1/V2 Stores to a V4 Store.
  *
- * NOTE: No checks are in place to validate that the input is V1.
+ * BDB Environment is checked to detect the existing store version.
  *
- * Currently upgrade is fixed from v1 -> v2
- * Only the Queue and Binding databases are migrated all other databases are copied as DB entries.
+ * Only Message Content database entries are copied. Entries of other databases are migrated into v4.
  *
- * Improvments:
+ * Improvements:
  * - Add List BDBMessageStore.getDatabases(); This can the be iterated to guard against new DBs being added.
- * - Add a version value into the store so that a quick check can be performed to perform the upgrades.
- * - A version in the store would allow automated upgrade or later with more available versions interactive upgrade.
- * - Currently only the Queue and Binding DB are processed for upgrade all the other db data is copied between stores.
- * - Add process logging and disable all Store and Qpid logging.
+ *
  */
 public class BDBStoreUpgrade
 {



More information about the rhmessaging-commits mailing list