@Override public boolean equals(Object o) {
    if (o == this) return true;
    if (!(o instanceof OpensearchVersion)) return false;
    OpensearchVersion that = (OpensearchVersion) o;
    return this.major == that.major && this.minor == that.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