createIndex();
}
}
@Override
public void onFailure(final Throwable e) {
<BUG>if (e instanceof IndexMissingException) {
</BUG>
createIndex();
} else {
logger.error("Failed to start ConfigSyncService.", e);

createIndex();
}
}
@Override
public void onFailure(final Throwable e) {
if (e instanceof IndexNotFoundException) {
createIndex();
} else {
logger.error("Failed to start ConfigSyncService.", e);
