-
Notifications
You must be signed in to change notification settings - Fork 25k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only index into "doc" type in security index (#42563)
The API Key Service would attempt to write to the "_doc" (SINGLE_MAPPING_TYPE) type when indexing a new api key. For indices created on 6.x, this works correctly, and indexes into the "doc" type (the single type) that is used in security. But if the security index was originally created on 5.x, this will create a new "_doc" type in the index rather than adding the document to the "doc" type. Fixes: #42562
- Loading branch information
Showing
3 changed files
with
124 additions
and
14 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
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