Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Removed needless serialization code from TransportIndexReplicationAction and corresponding request object #7211
TransportIndexReplicationAction is always executed locally, as an internal action that is part of either delete by query or delete (when routing is required but not specified). Only the corresponding shard level requests get sent over the transport, hence no transport endpoint is needed for the index version, nor the index request itself is supposed to be sent over the transport.
Made all index requests fields final and removed
Moved classes from
Also removed serialization code from IndexDeleteResponse as it never gets sent over transport either.