Skip to content

Commit d72600b

Browse files
committed
Clean up
1 parent 7200edc commit d72600b

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

server/src/internalClusterTest/java/org/elasticsearch/search/SearchWithIndexBlocksIT.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99

1010
package org.elasticsearch.search;
1111

12-
import com.carrotsearch.randomizedtesting.annotations.Repeat;
13-
1412
import org.elasticsearch.action.index.IndexRequestBuilder;
1513
import org.elasticsearch.action.search.ClosePointInTimeRequest;
1614
import org.elasticsearch.action.search.OpenPointInTimeRequest;
@@ -39,7 +37,6 @@
3937
import static org.elasticsearch.test.ClusterServiceUtils.setState;
4038
import static org.elasticsearch.test.hamcrest.ElasticsearchAssertions.assertHitCount;
4139

42-
@Repeat(iterations = 100)
4340
public class SearchWithIndexBlocksIT extends ESIntegTestCase {
4441

4542
public void testSearchIndicesWithIndexRefreshBlocks() {

server/src/main/java/org/elasticsearch/action/search/SearchShardIterator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public final class SearchShardIterator implements Comparable<SearchShardIterator
4141

4242
/**
4343
* Creates a {@link SearchShardIterator} instance that iterates over a subset of the given shards
44-
* this the given <code>shardId</code>.
44+
* this the a given <code>shardId</code>.
4545
*
4646
* @param clusterAlias the alias of the cluster where the shard is located
4747
* @param shardId shard id of the group

server/src/main/java/org/elasticsearch/action/search/TransportSearchAction.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1901,7 +1901,6 @@ static String[] ignoreBlockedIndices(ProjectState projectState, String[] concret
19011901
// optimization: mostly we do not have any blocks so there's no point in the expensive per-index checking
19021902
boolean hasIndexBlocks = projectState.blocks().indices(projectState.projectId()).isEmpty() == false;
19031903
if (hasIndexBlocks) {
1904-
logger.info("Has index block: {}", projectState.blocks().toString());
19051904
return Arrays.stream(concreteIndices)
19061905
.filter(
19071906
index -> projectState.blocks()

0 commit comments

Comments
 (0)