Skip to content

Commit

Permalink
nodePath
Browse files Browse the repository at this point in the history
  • Loading branch information
tlrx committed Dec 3, 2020
1 parent a864370 commit 9bef60d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ void loadCacheFiles(CacheService cacheService) {
final NodeEnvironment.NodePath nodePath = writer.nodePath();
logger.debug("loading persistent cache on data path [{}]", nodePath);

for (String indexUUID : nodeEnvironment.availableIndexFoldersForPath(writer.nodePath())) {
for (String indexUUID : nodeEnvironment.availableIndexFoldersForPath(nodePath)) {
for (ShardId shardId : nodeEnvironment.findAllShardIds(new Index("_unknown_", indexUUID))) {
final Path shardDataPath = writer.nodePath().resolve(shardId);
final Path shardCachePath = getShardCachePath(new ShardPath(false, shardDataPath, shardDataPath, shardId));
Expand Down

0 comments on commit 9bef60d

Please sign in to comment.