Skip to content

Removing the "type" from the deleteByQuery that esArchiver uses#37507

Merged
spalger merged 2 commits intoelastic:masterfrom
kobelb:delete-by-query-type
May 30, 2019
Merged

Removing the "type" from the deleteByQuery that esArchiver uses#37507
spalger merged 2 commits intoelastic:masterfrom
kobelb:delete-by-query-type

Conversation

@kobelb
Copy link
Copy Markdown
Contributor

@kobelb kobelb commented May 30, 2019

CI is red because of elastic/elasticsearch#42112 and we're specifying the "type" when doing the delete by query to delete everything except the default space.

[00:00:36] │ [parsing_exception] [1:65] [ids] unknown field [type], parser not found, with { line=1 & col=65 }
[00:00:36] │ :: {"path":"/.kibana/_delete_by_query","query":{},"body":"{"query":{"bool":{"must_not":{"ids":{"type":"_doc","values":["space:default"]}}}}}","statusCode":400,"response":"{"error":{"root_cause":[{"type":"parsing_exception","reason":"[1:65] [ids] unknown field [type], parser not found","line":1,"col":65}],"type":"parsing_exception","reason":"[1:65] [ids] unknown field [type], parser not found","line":1,"col":65,"caused_by":{"type":"x_content_parse_exception","reason":"[1:65] [ids] unknown field [type], parser not found"}},"status":400}"}
[00:00:36] │ at respond (/var/lib/jenkins/workspace/elastic+kibana+master/JOB/x-pack-

Copy link
Copy Markdown
Contributor

@epixa epixa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM if previously failing CI jobs pass this point.

@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

@spalger
Copy link
Copy Markdown
Contributor

spalger commented May 30, 2019

Tested locally, merging to hopefully unblock CI

@spalger spalger merged commit aaa180b into elastic:master May 30, 2019
spalger pushed a commit to spalger/kibana that referenced this pull request May 30, 2019
…tic#37507)

* Removing the "type" from the deleteByQuery that esArchiver uses

* [context] remove type from ids filter in context app
spalger pushed a commit that referenced this pull request May 30, 2019
…#37507) (#37514)

* Removing the "type" from the deleteByQuery that esArchiver uses

* [context] remove type from ids filter in context app
spalger pushed a commit that referenced this pull request May 30, 2019
spalger pushed a commit that referenced this pull request May 30, 2019
@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

jkakavas pushed a commit to jkakavas/kibana that referenced this pull request May 30, 2019
…tic#37507)

* Removing the "type" from the deleteByQuery that esArchiver uses

* [context] remove type from ids filter in context app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants