Skip to content

Commit

Permalink
[Upgrade Assistant] Remove index_mapper_dynamic setting when reindexi…
Browse files Browse the repository at this point in the history
…ng (elastic#119441)

* Add index_mapper_dynamic to removeList

* commit using @elastic.co
  • Loading branch information
sabarasaba committed Nov 24, 2021
1 parent 53315b2 commit 915dd06
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ describe('transformFlatSettings', () => {
'index.verified_before_close': 'true',
'index.version.created': '123123',
'index.version.upgraded': '123123',
'index.mapper.dynamic': 'true',

// Deprecated settings
'index.force_memory_term_dictionary': '1024',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,9 @@ const removeUnsettableSettings = (settings: FlatSettings['settings']) =>
'index.verified_before_close',
'index.version.created',

// Ignored since 6.x and forbidden in 7.x
'index.mapper.dynamic',

// Deprecated in 9.0
'index.version.upgraded',
]);
Expand Down

0 comments on commit 915dd06

Please sign in to comment.