Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ public void testNoOpEngineFactoryTakesPrecedence() {
final IndexService indexService = indicesService.indexServiceSafe(indexMetadata.getIndex());

for (IndexShard indexShard : indexService) {
assertThat(indexShard.getEngine(), instanceOf(NoOpEngine.class));
assertThat(indexShard.getIndexer(), instanceOf(NoOpEngine.class));
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@

import static org.opensearch.cluster.metadata.IndexMetadata.SETTING_NUMBER_OF_SHARDS;
import static org.opensearch.cluster.routing.allocation.decider.MaxRetryAllocationDecider.SETTING_ALLOCATION_MAX_RETRY;
import static org.opensearch.index.shard.IndexShardTests.getEngineFromShard;
import static org.opensearch.index.shard.IndexShardTestCase.getEngine;
import static org.opensearch.indices.recovery.RecoverySettings.INDICES_RECOVERY_MAX_BYTES_PER_SEC_SETTING;
import static org.opensearch.test.hamcrest.OpenSearchAssertions.assertAcked;
import static org.opensearch.test.hamcrest.OpenSearchAssertions.assertAllSuccessful;
Expand Down Expand Up @@ -2052,7 +2052,7 @@ public void testSnapshottingWithMissingSequenceNumbers() {
final Index index = resolveIndex(indexName);
final IndexShard primary = internalCluster().getInstance(IndicesService.class, dataNode).getShardOrNull(new ShardId(index, 0));
// create a gap in the sequence numbers
EngineTestCase.generateNewSeqNo(getEngineFromShard(primary));
EngineTestCase.generateNewSeqNo(getEngine(primary));

for (int i = 5; i < 10; i++) {
index(indexName, "_doc", Integer.toString(i), "foo", "bar" + i);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2234,5 +2234,4 @@ public long getMaxSeenAutoIdTimestamp() {
* to advance this marker to at least the given sequence number.
*/
public abstract void advanceMaxSeqNoOfUpdatesOrDeletes(long maxSeqNoOfUpdatesOnPrimary);

}
Loading