This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix for upgrading mapping This PR fixes two bugs of upgrading mapping: First, previously we only tried once when upgrading mapping. It is possible we need to try a few more times. The drawback is that if the code has a bug, we retry endlessly. I should fix it in the future. Second, we enclose the upgrade mapping function call under a user context in a recent commit. Upgrade mapping will fail when security plugin is enabled since a regular user cannot upgrade mappings of system indices. The PR also adds upper bounds to our dynamic settings if reasonable. Testing done: 1. Tested that upgrade mapping succeeds with new changes. 2. Tested the upper bounds of the changed settings are in effect.
- Loading branch information
Showing
3 changed files
with
36 additions
and
7 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