-
Notifications
You must be signed in to change notification settings - Fork 462
remove upgrade code for versions before 2.1 #3160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Pushed this as a draft for comments - still want to double check for unnecessary tests and code that may no longer be references, but this does remove most of the previous upgrade code as is. |
This will resolve #3098 |
server/base/src/main/java/org/apache/accumulo/server/AccumuloDataVersion.java
Show resolved
Hide resolved
server/base/src/test/java/org/apache/accumulo/server/ServerContextTest.java
Outdated
Show resolved
Hide resolved
server/manager/src/main/java/org/apache/accumulo/manager/upgrade/UpgradeCoordinator.java
Outdated
Show resolved
Hide resolved
server/manager/src/main/java/org/apache/accumulo/manager/upgrade/UpgradeChecker.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have only minor suggestions remaining for this... some of which might be an existing bug in 1.10 or 2.1's upgrade code.
server/base/src/main/java/org/apache/accumulo/server/AccumuloDataVersion.java
Outdated
Show resolved
Hide resolved
server/base/src/main/java/org/apache/accumulo/server/AccumuloDataVersion.java
Outdated
Show resolved
Hide resolved
server/manager/src/main/java/org/apache/accumulo/manager/upgrade/UpgradeCoordinator.java
Outdated
Show resolved
Hide resolved
server/manager/src/main/java/org/apache/accumulo/manager/upgrade/UpgradeCoordinator.java
Outdated
Show resolved
Hide resolved
server/manager/src/main/java/org/apache/accumulo/manager/upgrade/UpgradeCoordinator.java
Outdated
Show resolved
Hide resolved
…ataVersion.java Co-authored-by: Christopher Tubbs <ctubbsii@apache.org>
…ataVersion.java Co-authored-by: Christopher Tubbs <ctubbsii@apache.org>
…de/UpgradeCoordinator.java Co-authored-by: Christopher Tubbs <ctubbsii@apache.org>
server/manager/src/main/java/org/apache/accumulo/manager/upgrade/UpgradeCoordinator.java
Outdated
Show resolved
Hide resolved
The extra check doesn't seem like it would work the way it is intended.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Requesting changes. See last comment about the more informative version check message.
3.x will only support upgrades from 2.1, these changes remove code that supports upgrade before 2.1