You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Lynn Gallinat (JIRA)" <ji...@apache.org> on 2019/05/03 21:20:00 UTC

[jira] [Created] (GEODE-6738) need better message when upgrading disk stores that are already at the current version

Lynn Gallinat created GEODE-6738:
------------------------------------

             Summary: need better message when upgrading disk stores that are already at the current version
                 Key: GEODE-6738
                 URL: https://issues.apache.org/jira/browse/GEODE-6738
             Project: Geode
          Issue Type: Improvement
            Reporter: Lynn Gallinat


When running the gfsh command "upgrade offline-disk-store..." and the disk files are already at the current version, an exception is thrown, but the text in the exception could be worded better to let the user know what happened.

Here is the exception:
Recovered version = GEODE 1.9.0: This disk store is already at version GEODE 1.9.0.

java.lang.IllegalStateException: Recovered version = GEODE 1.9.0: This disk store is already at version GEODE 1.9.0.
        at org.apache.geode.internal.cache.DiskStoreImpl.loadFiles(DiskStoreImpl.java:1949)
        at org.apache.geode.internal.cache.DiskStoreImpl.<init>(DiskStoreImpl.java:476)
        at org.apache.geode.internal.cache.DiskStoreImpl.createForOffline(DiskStoreImpl.java:4107)
        at org.apache.geode.internal.cache.DiskStoreImpl.offlineCompact(DiskStoreImpl.java:4225)
        at org.apache.geode.management.internal.cli.util.DiskStoreUpgrader.upgrade(DiskStoreUpgrader.java:132)






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)