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

bug-1921849: support elasticsearch 8 #6741

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

relud
Copy link
Member

@relud relud commented Oct 3, 2024

requires #6736

use ELASTICSEARCH_MODE=PREFER_NEW to make the webapp use es8 and the processor write to both es 1.4 and es8

@relud relud force-pushed the relud-es-8-crash-storage branch 11 times, most recently from d96b425 to 9ac223f Compare October 8, 2024 18:09
@relud relud requested a review from willkg October 8, 2024 18:19
@relud

This comment was marked as resolved.

@relud relud force-pushed the relud-es-8-crash-storage branch 3 times, most recently from 32912f9 to b360970 Compare October 9, 2024 23:58
@@ -458,7 +491,8 @@ def test_get_with_bool_operators(self, es_helper):

assert resp["total"] == 2
assert len(resp["hits"]) == 2
assert not resp["hits"][0]["accessibility"]
for hit in resp["hits"]:
assert not hit["accessibility"]
Copy link
Member Author

Choose a reason for hiding this comment

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

this test was flaky because it was only checking one hit, checking every hit made it reliably fail until I restored correct behavior.

@relud relud marked this pull request as ready for review October 9, 2024 23:59
@relud relud requested a review from a team as a code owner October 9, 2024 23:59
@@ -575,6 +612,8 @@ def _submit_crash_to_elasticsearch(
# is and fix the document and try again
field_name = None

# TODO(relud) clean this up
Copy link
Member Author

Choose a reason for hiding this comment

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

just noticed this note, i'll add some tests and update this error handling

@willkg
Copy link
Contributor

willkg commented Oct 29, 2024

@relud Can you rebase this against main? That picks up the changes to move translating between processed crash schema permissions and webapp permissions. Then I can continue working on reviewing this.

@relud relud force-pushed the relud-es-8-crash-storage branch 4 times, most recently from 19b3ea4 to c0e2cfd Compare October 30, 2024 17:55
Co-authored-by: krzepka <rzarol.kepka@gmail.com>
@relud
Copy link
Member Author

relud commented Oct 30, 2024

@willkg rebase completed

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.

2 participants