Skip to content

Commit

Permalink
Add TODO to update RemoteStoreRecoverySource#expectEmptyRetentionLeas…
Browse files Browse the repository at this point in the history
…es once opensearch-project#8795 is resolved

Signed-off-by: Bhumika Saini <sabhumik@amazon.com>
  • Loading branch information
Bhumika Saini committed Jul 20, 2023
1 parent 990b160 commit 6fde387
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,9 @@ public int hashCode() {
return Objects.hash(restoreUUID, index, version);
}

// TODO: This override should be removed/be updated to return "true",
// i.e. we expect no retention leases, once the following issue is fixed:
// https://github.com/opensearch-project/OpenSearch/issues/8795
@Override
public boolean expectEmptyRetentionLeases() {
return false;
Expand Down

0 comments on commit 6fde387

Please sign in to comment.