-
Notifications
You must be signed in to change notification settings - Fork 157
Do not intertwine different batch operations #1317
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
Conversation
dca66b2 to
cb4c49b
Compare
DescriptionThis PR refactors the batch processing implementation within the search service to address concurrency issues and operational inconsistencies present in the previous design. The core change is that each individual operation now receives its own batch, ensuring that operations are isolated and controlled within their context, including child operations that occur during recursive traversals. The orchestration of batch execution is now automatic, but still allows external control for specific scenarios such as space indexing. Motivation and ContextPreviously, the search service's batching mechanism had several weaknesses:
The motivation for this refactor is to:
Implementation Details
|
cb4c49b to
f615ccc
Compare
rhafer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quite a mouthful, but lgtm as far as I understand.
Description
This PR refactors the batch processing implementation within the search service to address concurrency issues and operational inconsistencies present in the previous design. The core change is that each individual operation now receives its own batch, ensuring that operations are isolated and controlled within their context, including child operations that occur during recursive traversals. The orchestration of batch execution is now automatic, but still allows external control for specific scenarios such as space indexing.
Motivation and Context
Previously, the search service's batching mechanism had several weaknesses:
The motivation for this refactor is to:
Implementation Details
How Has This Been Tested?
Types of changes
Checklist: