Skip to content

Commit

Permalink
Add an UpdateForV9
Browse files Browse the repository at this point in the history
  • Loading branch information
williamrandolph committed Feb 8, 2024
1 parent e1821e4 commit de15050
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ public IndexVersion oldestIndexVersion() {
return oldestIndexVersion;
}

@UpdateForV9
public void verifyUpgradeToCurrentVersion() {
assert (indexVersionCheckpoint.equals(IndexVersions.ZERO) == false) || (Version.CURRENT.major <= Version.V_7_0_0.major + 1)
: "version is required in the node metadata from v9 onwards";
Expand Down

0 comments on commit de15050

Please sign in to comment.