Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
Signed-off-by: Shailendra Singh <[email protected]>
  • Loading branch information
Shailendra Singh committed Sep 2, 2024
1 parent f9567e1 commit 40c9372
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,10 @@ private static ClusterStateDiffManifest diffManifest(Object[] fields) {
versionToCodecMapping.put(version, ClusterMetadataManifest.CODEC_V1);
} else if (version.onOrAfter(Version.V_2_15_0) && version.before(Version.V_2_16_0)) {
versionToCodecMapping.put(version, ClusterMetadataManifest.CODEC_V2);
} else if (version.onOrAfter(Version.V_2_16_0)) {
} else if (version.onOrAfter(Version.V_2_16_0) && version.before(Version.V_2_17_0)) {
versionToCodecMapping.put(version, ClusterMetadataManifest.CODEC_V3);
} else if (version.onOrAfter(Version.V_2_17_0)) {
versionToCodecMapping.put(version, ClusterMetadataManifest.CODEC_V4);
}
}
VERSION_TO_CODEC_MAPPING = Collections.unmodifiableMap(versionToCodecMapping);
Expand Down

0 comments on commit 40c9372

Please sign in to comment.