You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. It is confusing and unnecessary to handle response deserialization via inheritance
and request deserialization via composition. Consistently using composition saves
hundreds of lines of code and as a matter of fact also removes some indirection in
transport master node action since we pass a reader down to the response handling anyway.
2. Defining `executor` via inheritance but then assuming the return of the method is a constant
is confusing and again not in line with how we handle the `executor` definition for other transport
actions so this was simplified away as well.
Somewhat relates to the dry-up in elastic#63335
Copy file name to clipboardExpand all lines: server/src/main/java/org/elasticsearch/action/admin/cluster/allocation/TransportClusterAllocationExplainAction.java
Copy file name to clipboardExpand all lines: server/src/main/java/org/elasticsearch/action/admin/cluster/configuration/TransportAddVotingConfigExclusionsAction.java
Copy file name to clipboardExpand all lines: server/src/main/java/org/elasticsearch/action/admin/cluster/configuration/TransportClearVotingConfigExclusionsAction.java
Copy file name to clipboardExpand all lines: server/src/main/java/org/elasticsearch/action/admin/cluster/repositories/cleanup/TransportCleanupRepositoryAction.java
Copy file name to clipboardExpand all lines: server/src/main/java/org/elasticsearch/action/admin/cluster/repositories/delete/TransportDeleteRepositoryAction.java
+1-6
Original file line number
Diff line number
Diff line change
@@ -45,15 +45,10 @@ public TransportDeleteRepositoryAction(TransportService transportService, Cluste
Copy file name to clipboardExpand all lines: server/src/main/java/org/elasticsearch/action/admin/cluster/repositories/get/TransportGetRepositoriesAction.java
Copy file name to clipboardExpand all lines: server/src/main/java/org/elasticsearch/action/admin/cluster/repositories/put/TransportPutRepositoryAction.java
+1-6
Original file line number
Diff line number
Diff line change
@@ -45,15 +45,10 @@ public TransportPutRepositoryAction(TransportService transportService, ClusterSe
Copy file name to clipboardExpand all lines: server/src/main/java/org/elasticsearch/action/admin/cluster/repositories/verify/TransportVerifyRepositoryAction.java
0 commit comments