@Override public int compareTo(OpensearchVersion other) {
    if (major < other.major) return -1;
    if (major > other.major) return 1;
    return Integer.compare(minor, other.minor);
  }
Helps avoid problems comparing versions by number. Ex 2.10 should be > 2.9
zipkin-storage/elasticsearch/src/main/java/zipkin2/elasticsearch/OpensearchVersion.java