Skip to content

Commit ef9b78b

Browse files
author
Vishwas Garg
committed
rename removed
Signed-off-by: Vishwas Garg <glvishwa@amazon.com>
1 parent 99f22c0 commit ef9b78b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • server/src/main/java/org/opensearch/node

server/src/main/java/org/opensearch/node/Node.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1192,8 +1192,7 @@ protected Node(final Environment initialEnvironment, Collection<PluginInfo> clas
11921192
.collect(Collectors.toList());
11931193
pluginComponents.addAll(searchBackEndPluginComponents);
11941194

1195-
// Wire block-cache plugins into UnifiedCacheService on warm nodes.
1196-
if (DiscoveryNode.isWarmNode(settings) && unifiedCacheService != null) {
1195+
if (unifiedCacheService != null) {
11971196
for (org.opensearch.plugins.BlockCacheProvider p :
11981197
pluginsService.filterPlugins(org.opensearch.plugins.BlockCacheProvider.class)) {
11991198
p.getBlockCache().ifPresent(unifiedCacheService::addBlockCache);

0 commit comments

Comments
 (0)