public Long getOrCreateStoreId(final long clusterId, final Endpoint endpoint) {
        final CompletableFuture<Long> future = new CompletableFuture<>();
        internalGetOrCreateStoreId(clusterId, endpoint, future, this.failoverRetries, null);
        return FutureHelper.get(future);
    }
The pd server stores the storeIds of all nodes.
This method provides a lookup for the storeId according
to the host.  If there is no value, then a globally
unique storeId is created.
jraft-rheakv/rheakv-core/src/main/java/com/alipay/sofa/jraft/rhea/client/pd/MetadataRpcClient.java