iprithv commented on code in PR #5410:
URL: https://github.com/apache/solr/pull/5410#discussion_r4759977115


##########
solr/core/src/java/org/apache/solr/core/NIOFSDirectoryFactory.java:
##########
@@ -27,6 +27,6 @@ public class NIOFSDirectoryFactory extends 
StandardDirectoryFactory {
 
   @Override
   protected Directory create(String path, LockFactory lockFactory) throws 
IOException {
-    return new NIOFSDirectory(Path.of(path), lockFactory);
+    return configureMMapReadAdvice(new NIOFSDirectory(Path.of(path), 
lockFactory));

Review Comment:
   makes sense, reverted. thanks!



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to