mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
This commit does the following: * Add the new API at the rest layer, being backed by the optimize API with upgrade flag, and segments api to find upgrade status. * Add `upgrade` flag to optimize API, and deprecate `force` flag (will remove in master) * Add test for both synchronous and async upgrade closes #7884 closes #7922