Skip to content
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

Fix: make results logger errors manageable. #382

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

dblock
Copy link
Member

@dblock dblock commented Jul 8, 2024

Description

When the number of errors is high the results logger spews pages of them. This cuts down the list.

Before:

FAILED  RESPONSE PAYLOAD SCHEMA (data/security-auditlog-2024.07.03/mappings/properties/audit_category/fields/keyword/ignore_above property is not defined in the spec, data/security-auditlog-2024.07.03/mappings/properties/audit_category/fields/keyword/type must be equal to one of the allowed values, data/security-auditlog-2024.07.03/mappings/properties/audit_category/fields/keyword/ignore_above property is not defined in the spec, data/security-auditlog-2024.07.03/mappings/properties/audit_category/fields/keyword/type must be equal to one of the allowed values, data/security-auditlog-2024.07.03/mappings/properties/audit_category/fields/keyword/ignore_above property is not defined in the spec, data/security-auditlog-2024.07.03/mappings/properties/audit_category/fields/keyword/type must be equal to one of the allowed values, data/security-auditlog-2024.07.03/mappings/properties/audit_category/fields/keyword/ignore_above property is not defined in the spec, data/security-auditlog-2024.07.03/mappings/properties/audit_category/fields/keyword/type must be equal to one of the allowed values, data/security-auditlog-2024.07.03/mappings/properties/audit_category/fields/keyword/ignore_above property is not defined in the spec, data/security-auditlog-2024.07.03/mappings/properties/audit_category/fields/keyword/ignore_above property is not defined in the spec, data/security-auditlog-2024.07.03/mappings/properties/audit_category/fields/keyword/type must be equal to one of the allowed values, data/security-auditlog-2024.07.03/mappings/properties/audit_category/fields/keyword/ignore_above property is not defined in the spec, data/security-auditlog-2024.07.03/mappings/properties/audit_category/fields/keyword/t

... many many lines

After:

FAILED  RESPONSE PAYLOAD SCHEMA data/security-auditlog-2024.07.03/mappings/properties/audit_category/fields/keyword/ignore_above property is not defined in the spec, ...

Not sure how it interacts with @nhtruong's #378, can wait for that to be merged or not.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@dblock dblock added the skip-changelog No need to update CHANGELOG. label Jul 8, 2024
Copy link
Contributor

github-actions bot commented Jul 8, 2024

Changes Analysis

Commit SHA: 3c015b6
Comparing To SHA: a359a5a

API Changes

Summary

NO CHANGES

Report

The full API changes report is available at: https://github.com/opensearch-project/opensearch-api-specification/actions/runs/9842832472/artifacts/1678448187

API Coverage

Before After Δ
Covered (%) 483 (47.31 %) 483 (47.31 %) 0 (0 %)
Uncovered (%) 538 (52.69 %) 538 (52.69 %) 0 (0 %)
Unknown 24 24 0

@dblock
Copy link
Member Author

dblock commented Jul 8, 2024

Lint errors fixed in #240

@Xtansia Xtansia merged commit f00ed98 into opensearch-project:main Jul 8, 2024
9 of 18 checks passed
@dblock dblock deleted the results-logger branch July 8, 2024 22:39
@dblock dblock mentioned this pull request Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-changelog No need to update CHANGELOG.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants