@@ -551,10 +551,8 @@ public void deleteIndexDirectoryUnderLock(Index index, IndexSettings indexSettin
551551 * @param index the index to lock shards for
552552 * @param lockTimeoutMS how long to wait for acquiring the indices shard locks
553553 * @return the {@link ShardLock} instances for this index.
554- * @throws IOException if an IOException occurs.
555554 */
556- public List <ShardLock > lockAllForIndex (Index index , IndexSettings settings , long lockTimeoutMS )
557- throws IOException , ShardLockObtainFailedException {
555+ public List <ShardLock > lockAllForIndex (Index index , IndexSettings settings , long lockTimeoutMS ) throws ShardLockObtainFailedException {
558556 final int numShards = settings .getNumberOfShards ();
559557 if (numShards <= 0 ) {
560558 throw new IllegalArgumentException ("settings must contain a non-null > 0 number of shards" );
@@ -842,7 +840,7 @@ public Set<String> availableIndexFoldersForPath(final NodePath nodePath) throws
842840 /**
843841 * Resolves all existing paths to <code>indexFolderName</code> in ${data.paths}/nodes/{node.id}/indices
844842 */
845- public Path [] resolveIndexFolder (String indexFolderName ) throws IOException {
843+ public Path [] resolveIndexFolder (String indexFolderName ) {
846844 if (nodePaths == null || locks == null ) {
847845 throw new IllegalStateException ("node is not configured to store local location" );
848846 }
@@ -987,17 +985,6 @@ public void ensureAtomicMoveSupported() throws IOException {
987985 }
988986 }
989987
990- /**
991- * Resolve the custom path for a index's shard.
992- * Uses the {@code IndexMetaData.SETTING_DATA_PATH} setting to determine
993- * the root path for the index.
994- *
995- * @param indexSettings settings for the index
996- */
997- public Path resolveBaseCustomLocation (IndexSettings indexSettings ) {
998- return resolveBaseCustomLocation (indexSettings , sharedDataPath , nodeLockId );
999- }
1000-
1001988 /**
1002989 * Resolve the custom path for a index's shard.
1003990 * Uses the {@code IndexMetaData.SETTING_DATA_PATH} setting to determine
0 commit comments