Skip to content

Commit

Permalink
fix some comment
Browse files Browse the repository at this point in the history
  • Loading branch information
congbo committed May 7, 2024
1 parent 315b4af commit 5f3aaa2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ static BookKeeperBuilder newBuilder(final ClientConfiguration clientConfiguratio
* @return the metadata service is available.
*/
CompletableFuture<Boolean> isDriverMetadataServiceAvailable();

/**
* Close the client and release every resource.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ public class ZKMetadataDriverBase implements AutoCloseable {
protected static final String SCHEME = "zk";

protected volatile boolean metadataServiceAvailable;

private static final int ZK_CLIENT_WAIT_FOR_SHUTDOWN_TIMEOUT_MS = 5000;

public static String getZKServersFromServiceUri(URI uri) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ public DriverMetadataServiceAvailableTest() {
@Test
public void testDriverMetadataServiceAvailable()
throws Exception {

ClientConfiguration conf = new ClientConfiguration();
conf.setMetadataServiceUri(zkUtil.getMetadataServiceUri());
conf.setZkTimeout(3000);
Expand Down

0 comments on commit 5f3aaa2

Please sign in to comment.