Skip to content
Merged
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 @@ -78,7 +78,6 @@ public ClusterState performAction(Index index, ClusterState clusterState) {
String phase = targetNextStepKey.getPhase();
String action = targetNextStepKey.getAction();
String step = targetNextStepKey.getName();
long lifecycleDate = lifecycleState.getLifecycleDate();

LifecycleExecutionState.Builder relevantTargetCustomData = LifecycleExecutionState.builder(lifecycleState);
// Override the phase, action, and step for the target next StepKey
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,11 @@ public void testConvertingSearchableSnapshotFromFullToPartial() throws Exception
Request hitCount = new Request("GET", "/" + searchableSnapMountedIndexName + "/_count");
Map<String, Object> count = entityAsMap(client().performRequest(hitCount));
assertThat("expected a single document but got: " + count, (int) count.get("count"), equalTo(1));

assertBusy(() -> assertTrue(
"Expecting the mounted index to be deleted and to be converted to an alias",
aliasExists(searchableSnapMountedIndexName, SearchableSnapshotAction.FULL_RESTORED_INDEX_PREFIX + index))
);
}

public void testSecondSearchableSnapshotUsingDifferentRepoThrows() throws Exception {
Expand Down