-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove node mapping refresh action (#68909)
The mapping refresh action was used when every local node used to process mappings, to eventually ask the master node to refresh its mappings and re-send them to all nodes. This is no longer needed and could actually be hiding some unexpected situations that we would like to know about and handle specifically. This commit removes the node refresh action which is not expected to be called by any node, and replaces it with an assertion that verifies that we never end up in a situation where we need a refresh. Also, the received mappings received by any local node are now applied as they are, without any further merging, as they were already merged by the master node.
- Loading branch information
Showing
11 changed files
with
64 additions
and
344 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
115 changes: 0 additions & 115 deletions
115
server/src/main/java/org/elasticsearch/cluster/action/index/NodeMappingRefreshAction.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.