Skip to content

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

Merged
merged 14 commits into from
Feb 8, 2023

Conversation

EdColeman
Copy link
Contributor

3.x will only support upgrades from 2.1, these changes remove code that supports upgrade before 2.1

  • add upgrade check to allow for validation on upgrades - include ZK ACL check
  • removes Accumulo data versions < 10
  • removes upgraders 8-9 and 9-10
  • removes associated tests

@EdColeman EdColeman marked this pull request as draft January 13, 2023 19:59
@EdColeman
Copy link
Contributor Author

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.

@EdColeman EdColeman marked this pull request as ready for review January 19, 2023 18:32
@EdColeman
Copy link
Contributor Author

This will resolve #3098

Copy link
Member

@ctubbsii ctubbsii left a 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.

EdColeman and others added 5 commits February 6, 2023 22:19
…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>
ctubbsii
ctubbsii previously approved these changes Feb 7, 2023
@ctubbsii ctubbsii dismissed their stale review February 7, 2023 18:45

The extra check doesn't seem like it would work the way it is intended.

Copy link
Member

@ctubbsii ctubbsii left a 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.

@EdColeman EdColeman merged commit 94f4009 into apache:main Feb 8, 2023
@EdColeman EdColeman deleted the 3098-v3.0-upgrade-rework branch February 8, 2023 21:33
@ctubbsii ctubbsii added this to the 3.0.0 milestone Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants