Skip to content

Commit

Permalink
client change
Browse files Browse the repository at this point in the history
  • Loading branch information
xyuanlu committed Oct 12, 2023
1 parent 0e064dd commit cca528a
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 339 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@
import org.apache.helix.manager.zk.ZkBaseDataAccessor;
import org.apache.helix.manager.zk.ZkBucketDataAccessor;
import org.apache.helix.msdcommon.exception.InvalidRoutingDataException;
import org.apache.helix.rest.common.dataprovider.HelixRestDataProviderManager;
import org.apache.helix.rest.common.dataprovider.RestServiceDataProvider;
import org.apache.helix.rest.metadatastore.ZkMetadataStoreDirectory;
import org.apache.helix.task.TaskDriver;
import org.apache.helix.tools.ClusterSetup;
Expand Down Expand Up @@ -82,7 +80,6 @@ public class ServerContext implements IZkDataListener, IZkChildListener, IZkStat
// Create ZkBucketDataAccessor for ReadOnlyWagedRebalancer.
private volatile ZkBucketDataAccessor _zkBucketDataAccessor;

private volatile HelixRestDataProviderManager _helixRestDataProviderManager;

/**
* Multi-ZK support
Expand Down Expand Up @@ -296,16 +293,6 @@ public ZkBucketDataAccessor getZkBucketDataAccessor() {
return _zkBucketDataAccessor;
}

public HelixRestDataProviderManager getHelixRestDataProviderManager() {
if (_helixRestDataProviderManager == null) {
synchronized (this) {
if (_helixRestDataProviderManager == null) {
_helixRestDataProviderManager = new HelixRestDataProviderManager(getRealmAwareZkClient(), getHelixAdmin());
}
}
}
return _helixRestDataProviderManager;
}

public void close() {
if (_zkClient != null) {
Expand Down

0 comments on commit cca528a

Please sign in to comment.