@Override
            public boolean hasNext() {
                return emptyLogDirsIterator.hasNext() || logDirsIterator.hasNext();
            }
@return An iterator that returns (logDir, metaProps) for all non-failed directories.
metadata/src/main/java/org/apache/kafka/metadata/properties/MetaPropertiesEnsemble.java