mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 15:17:30 -04:00
convert index.store.fs.fs_lock
This commit is contained in:
parent
13e5547537
commit
a61723b538
6 changed files with 27 additions and 23 deletions
|
@ -40,6 +40,6 @@ public class SmbMmapFsDirectoryService extends FsDirectoryService {
|
|||
@Override
|
||||
protected Directory newFSDirectory(Path location, LockFactory lockFactory) throws IOException {
|
||||
logger.debug("wrapping MMapDirectory for SMB");
|
||||
return new SmbDirectoryWrapper(new MMapDirectory(location, buildLockFactory(indexSettings)));
|
||||
return new SmbDirectoryWrapper(new MMapDirectory(location, indexSettings.getValue(INDEX_LOCK_FACTOR_SETTING)));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue