@Override
    public void onUpdateFailure() {
        if (callback != null) {
            callback.onUpdateFailure();
        }
    }
MetricIndexUpdateWrapper wraps the built request wrapper with a new callback.
oap-server/server-storage-plugin/storage-elasticsearch-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/elasticsearch/base/MetricIndexUpdateWrapper.java