You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added new Setting property UnmodifiableOnRestore to prevent updating settings on restore snapshot (opensearch-project#16957)
* Add index.knn setting to list of unmodifiable settings when restore snapshot
Signed-off-by: AnnTian Shao <[email protected]>
* Add index.knn setting to list of unmodifiable settings when restore snapshot
Signed-off-by: AnnTian Shao <[email protected]>
* Add new Setting property UnmodifiableOnRestore to mark setting as immutable on restore snapshot
Signed-off-by: AnnTian Shao <[email protected]>
* Add tests for new Setting property UnmodifiableOnRestore
Signed-off-by: AnnTian Shao <[email protected]>
* fixes and added more tests for new setting property UnmodifiableOnRestore
Signed-off-by: AnnTian Shao <[email protected]>
* fix test failures
Signed-off-by: AnnTian Shao <[email protected]>
* Revert "fix test failures"
This reverts commit 252100c.
Signed-off-by: AnnTian Shao <[email protected]>
* fixes by adding back USER_UNMODIFIABLE_SETTINGS for settings without Setting implementation
Signed-off-by: AnnTian Shao <[email protected]>
* testing CI config for registering plugin settings
Signed-off-by: AnnTian Shao <[email protected]>
* Revert "testing CI config for registering plugin settings"
This reverts commit 9ebab5a.
Signed-off-by: AnnTian Shao <[email protected]>
* Add UnmodifiableOnRestore only to unmodifiable settings that are already registered, will raise separate PR for settings not yet registered. Add validation check in Setting.java. Add UnmodifiableOnRestore settings cannot be removed on restore
Signed-off-by: AnnTian Shao <[email protected]>
* fixes and move tests to RestoreSnapshotIT
Signed-off-by: AnnTian Shao <[email protected]>
* Add back testInvalidRestoreRequestScenarios test method
Signed-off-by: AnnTian Shao <[email protected]>
---------
Signed-off-by: AnnTian Shao <[email protected]>
Signed-off-by: Tommy Shao <[email protected]>
Co-authored-by: AnnTian Shao <[email protected]>
Signed-off-by: Eugene Tolbakov <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
35
35
- Added a new `time` field to replace the deprecated `getTime` field in `GetStats`. ([#17009](https://github.com/opensearch-project/OpenSearch/pull/17009))
36
36
- Improve flat_object field parsing performance by reducing two passes to a single pass ([#16297](https://github.com/opensearch-project/OpenSearch/pull/16297))
37
37
- Improve performance of the bitmap filtering([#16936](https://github.com/opensearch-project/OpenSearch/pull/16936/))
38
+
- Added new Setting property UnmodifiableOnRestore to prevent updating settings on restore snapshot ([#16957](https://github.com/opensearch-project/OpenSearch/pull/16957))
- Propagate the sourceIncludes and excludes fields from fetchSourceContext to FieldsVisitor. ([#17080](https://github.com/opensearch-project/OpenSearch/pull/17080))
0 commit comments