Skip to content

Commit

Permalink
Handle version during repository registration for prefix mode verific…
Browse files Browse the repository at this point in the history
…ation

Signed-off-by: Ashish Singh <[email protected]>
  • Loading branch information
ashking94 committed Dec 11, 2024
1 parent 5aa6509 commit 2c427aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2994,7 +2994,7 @@ public String startVerification() {
*/
private BlobContainer testContainer(String seed) {
BlobPath testBlobPath;
if (prefixModeVerification == true) {
if (prefixModeVerification == true && clusterService.state().nodes().getMinNodeVersion().onOrAfter(Version.V_2_17_0)) {
PathInput pathInput = PathInput.builder().basePath(basePath()).indexUUID(seed).build();
testBlobPath = PathType.HASHED_PREFIX.path(pathInput, FNV_1A_COMPOSITE_1);
} else {
Expand Down

0 comments on commit 2c427aa

Please sign in to comment.