Skip to content

Commit

Permalink
Updating PivotConfig max_page_search_size deprecation warning to crit…
Browse files Browse the repository at this point in the history
…ical (elastic#117051)

Co-authored-by: Elastic Machine <[email protected]>
  • Loading branch information
dan-rubinstein and elasticmachine authored Nov 21, 2024
1 parent fa3799f commit b42e8f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ public void checkForDeprecations(String id, NamedXContentRegistry namedXContentR
onDeprecation.accept(
// max_page_search_size got deprecated in 7.8, still accepted for 8.x, to be removed in 9.x
new DeprecationIssue(
Level.WARNING,
Level.CRITICAL,
"Transform [" + id + "] uses the deprecated setting [max_page_search_size]",
TransformDeprecations.MAX_PAGE_SEARCH_SIZE_BREAKING_CHANGES_URL,
TransformDeprecations.ACTION_MAX_PAGE_SEARCH_SIZE_IS_DEPRECATED,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,7 @@ public void testCheckForDeprecations() {
equalTo(
Collections.singletonList(
new DeprecationIssue(
Level.WARNING,
Level.CRITICAL,
"Transform [" + id + "] uses the deprecated setting [max_page_search_size]",
TransformDeprecations.MAX_PAGE_SEARCH_SIZE_BREAKING_CHANGES_URL,
TransformDeprecations.ACTION_MAX_PAGE_SEARCH_SIZE_IS_DEPRECATED,
Expand All @@ -952,7 +952,7 @@ public void testCheckForDeprecations() {
equalTo(
List.of(
new DeprecationIssue(
Level.WARNING,
Level.CRITICAL,
"Transform [" + id + "] uses the deprecated setting [max_page_search_size]",
TransformDeprecations.MAX_PAGE_SEARCH_SIZE_BREAKING_CHANGES_URL,
TransformDeprecations.ACTION_MAX_PAGE_SEARCH_SIZE_IS_DEPRECATED,
Expand Down Expand Up @@ -982,7 +982,7 @@ public void testCheckForDeprecations() {
null
),
new DeprecationIssue(
Level.WARNING,
Level.CRITICAL,
"Transform [" + id + "] uses the deprecated setting [max_page_search_size]",
TransformDeprecations.MAX_PAGE_SEARCH_SIZE_BREAKING_CHANGES_URL,
TransformDeprecations.ACTION_MAX_PAGE_SEARCH_SIZE_IS_DEPRECATED,
Expand Down

0 comments on commit b42e8f2

Please sign in to comment.