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

ET-5451 reduce probability of delete->insert race conditions #1126

Merged

Conversation

rustonaut
Copy link
Contributor

  • ignore version conflict of delete_by_parent
    • but still warn if it happens
  • change freshly_insert_document to use index instead of create, so it will replace existing documents with the
    same ID, while freshly_insert_document is supposed to only be called with snippet ids not in elastic search there seems to be a race condition where this isn't the case, maybe related to delete_by_parent
    • but still warn if it happens

@github-actions github-actions bot added the ready-for-review The PR can be reviewed label Jan 11, 2024
@rustonaut rustonaut requested review from joecks and removed request for janpetschexain January 11, 2024 14:30
@janpetschexain janpetschexain force-pushed the ET-5451-reduce-probability-of-delete-insert-race-condition branch from 26cd490 to 65baf95 Compare January 16, 2024 12:38
@janpetschexain janpetschexain removed the ready-for-review The PR can be reviewed label Jan 16, 2024
@janpetschexain janpetschexain added this pull request to the merge queue Jan 16, 2024
Merged via the queue into main with commit f0ba55a Jan 16, 2024
7 checks passed
@janpetschexain janpetschexain deleted the ET-5451-reduce-probability-of-delete-insert-race-condition branch January 16, 2024 12:59
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