drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hnfgns <...@git.apache.org>
Subject [GitHub] drill pull request: DRILL-4275: create TransientStore for short-li...
Date Tue, 16 Feb 2016 00:41:04 GMT
Github user hnfgns commented on a diff in the pull request:

    --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/coord/zk/ZKClusterCoordinator.java
    @@ -206,6 +209,16 @@ public DistributedSemaphore getSemaphore(String name, int maximumLeases)
         return new ZkDistributedSemaphore(curator, "/semaphore/" + name, maximumLeases);
    +  @Override
    +  public <V> TransientStore<V> getOrCreateTransientStore(final TransientStoreConfig<V>
config) {
    +    final ZkEphemeralStore<V> store = (ZkEphemeralStore<V>)factory.getOrCreateStore(config);
    +    try {
    +      store.start();
    --- End diff --
    That logic now is in factory which calls start once.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message