private ReplicationGroup getCurrReplicationGroup() {
        ReplicationGroup replicationGroup;
        try {
            replicationGroup = repEnv.getGroup();
        } catch (Throwable e) {
            logger.error("[BDB Impl] get current master group info error", e);
            return null;
        }
        return replicationGroup;
    }
Creates the replicated environment handle and returns it. It will retry indefinitely if a
master could not be established because a sufficient number of nodes were not available, or
there were networking issues, etc.

@return the newly created replicated environment handle
@throws InterruptedException if the operation was interrupted
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/master/metamanage/metastore/impl/bdbimpl/BdbMetaConfigMapperImpl.java