Skip to content

Commit

Permalink
Avoid backward incompatible change
Browse files Browse the repository at this point in the history
Signed-off-by: Sachin Kale <[email protected]>
  • Loading branch information
Sachin Kale committed Sep 6, 2024
1 parent 5acde27 commit 1c55ad7
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5162,6 +5162,15 @@ public void syncSegmentsFromRemoteSegmentStore(boolean overrideLocal, final Runn
}
}

public void syncSegmentsFromGivenRemoteSegmentStore(
boolean overrideLocal,
RemoteSegmentStoreDirectory sourceRemoteDirectory,
long primaryTerm,
long commitGeneration
) throws IOException {
// Keeping this method to avoid breaking change detection
}

Check warning on line 5172 in server/src/main/java/org/opensearch/index/shard/IndexShard.java

View check run for this annotation

Codecov / codecov/patch

server/src/main/java/org/opensearch/index/shard/IndexShard.java#L5172

Added line #L5172 was not covered by tests

/**
* Downloads segments from given remote segment store for a specific commit.
* @param overrideLocal flag to override local segment files with those in remote store
Expand Down

0 comments on commit 1c55ad7

Please sign in to comment.