if no metadata in gateway, as if we waited
This commit is contained in:
parent
bcb46a1747
commit
445db1e559
|
@ -158,7 +158,7 @@ public class GatewayService extends AbstractLifecycleComponent<GatewayService> i
|
||||||
}
|
}
|
||||||
if (metaData == null) {
|
if (metaData == null) {
|
||||||
logger.debug("No state read from gateway");
|
logger.debug("No state read from gateway");
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
final MetaData fMetaData = metaData;
|
final MetaData fMetaData = metaData;
|
||||||
final CountDownLatch latch = new CountDownLatch(fMetaData.indices().size());
|
final CountDownLatch latch = new CountDownLatch(fMetaData.indices().size());
|
||||||
|
|
Loading…
Reference in New Issue