-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Correctly ignore system indices when validationg dot-prefixed indices #128868
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 2 commits
2ceb42d
1b250e1
4127f6d
841d1f6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| pr: 128868 | ||
| summary: Correctly ignore system indices when validationg dot-prefixed indices | ||
| area: Indices APIs | ||
| type: bug | ||
| issues: [] | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,11 @@ | ||
| --- | ||
| teardown: | ||
| - requires: | ||
| test_runner_features: ["allowed_warnings"] | ||
|
|
||
| - do: | ||
| allowed_warnings: | ||
| - "this request accesses system indices: [.async-search], but in a future major version, direct access to system indices will be prevented by default" | ||
| indices.delete: | ||
| index: .*,-.security-* | ||
|
|
||
|
|
@@ -194,3 +199,17 @@ teardown: | |
| - do: | ||
| indices.delete_index_template: | ||
| name: my-template2 | ||
|
|
||
| --- | ||
| "System indices do not cause deprecation warnings": | ||
| - do: | ||
| index: | ||
| index: myindex | ||
| id: "1" | ||
| body: {foo: bar} | ||
|
|
||
| - do: | ||
| async_search.submit: | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So this test fails before the addition to
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hmm… I thought that it would, but it doesn't appear to work. So I can remove this test. I'm not sure how to test this right now other than manual testing. I'll do some more digging to see how best to test this. |
||
| index: myindex | ||
| keep_alive: 1m | ||
| keep_on_completion: true | ||
Uh oh!
There was an error while loading. Please reload this page.