fix logging message to include the index
also add the list of current indices
This commit is contained in:
parent
111a13222e
commit
2ed6ea25cc
|
@ -219,7 +219,7 @@ public class LocalGatewayMetaState extends AbstractComponent implements ClusterS
|
|||
continue;
|
||||
}
|
||||
if (!newMetaData.hasIndex(current.index())) {
|
||||
logger.debug("[{}] deleting index that is no longer part of the metadata");
|
||||
logger.debug("[{}] deleting index that is no longer part of the metadata (indices: [{}])", current.index(), newMetaData.indices().keySet());
|
||||
FileSystemUtils.deleteRecursively(nodeEnv.indexLocations(new Index(current.index())));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue