Currently when using `unit` parameter in the `rate` aggregator in time series mode (meaning the `rate` aggregation is defined as a child aggregation of `time_series` aggregation) then this parameter is ignored. We should investigate whether this parameter can be supported for computing rate in time series mode.
server/src/main/java/org/elasticsearch/TransportVersion.java
}
                builder.put(version.id, version);
                if (Assertions.ENABLED) {
                    
                    var sameVersionNumber = versionIdFields.put(version.id, fieldName);
                    assert sameVersionNumber == null
                        : "Versions ["
                            + sameVersionNumber
                            + "] and ["
                            + fieldName
                            + "] have the same version number ["
                            + version.id
                            + "]. Each TransportVersion should have a different version number";
                }
            }
        }
        return Collections.unmodifiableNavigableMap(builder);
    }
    private static final NavigableMap<Integer, TransportVersion> VERSION_IDS = getAllVersionIds(TransportVersion.class);
    static Collection<TransportVersion> getAllVersions() {
        return VERSION_IDS.values();
    }
    public static TransportVersion readVersion(StreamInput in) throws IOException {
        return fromId(in.readVInt());
    }
    public static TransportVersion fromId(int id) {
        TransportVersion known = VERSION_IDS.get(id);
        if (known != null) {
            return known;
        }