Skip to content

Commit

Permalink
Remove TooManyShardsInSnapshotsStatusException (#15877)
Browse files Browse the repository at this point in the history
Signed-off-by: Lakshya Taragi <[email protected]>
  • Loading branch information
ltaragi authored Sep 16, 2024
1 parent aaa92ae commit bd26056
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 79 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1210,14 +1210,6 @@ public static void registerExceptions() {
V_2_17_0
)
);
registerExceptionHandle(
new OpenSearchExceptionHandle(
org.opensearch.snapshots.TooManyShardsInSnapshotsStatusException.class,
org.opensearch.snapshots.TooManyShardsInSnapshotsStatusException::new,
175,
V_2_17_0
)
);
registerExceptionHandle(
new OpenSearchExceptionHandle(
org.opensearch.cluster.block.IndexCreateBlockException.class,
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@
import org.opensearch.snapshots.SnapshotId;
import org.opensearch.snapshots.SnapshotInProgressException;
import org.opensearch.snapshots.SnapshotInUseDeletionException;
import org.opensearch.snapshots.TooManyShardsInSnapshotsStatusException;
import org.opensearch.test.OpenSearchTestCase;
import org.opensearch.test.VersionUtils;
import org.opensearch.transport.ActionNotFoundTransportException;
Expand Down Expand Up @@ -899,7 +898,6 @@ public void testIds() {
ids.put(172, ViewNotFoundException.class);
ids.put(173, ViewAlreadyExistsException.class);
ids.put(174, InvalidIndexContextException.class);
ids.put(175, TooManyShardsInSnapshotsStatusException.class);
ids.put(10001, IndexCreateBlockException.class);

Map<Class<? extends OpenSearchException>, Integer> reverse = new HashMap<>();
Expand Down

0 comments on commit bd26056

Please sign in to comment.