-
Notifications
You must be signed in to change notification settings - Fork 693
Closed
Labels
kind/toilCategorizes an issue or PR as general maintenance, i.e. cleanup, refactoring, etc.Categorizes an issue or PR as general maintenance, i.e. cleanup, refactoring, etc.version:8.8.0-alpha8version:8.8.0-alpha8-rc1
Description
Currently BatchOperationExecutionScheduler
(and BatchOperationInitializer
) are doing too much. BatchOperationExecutionScheduler
handles scheduling, retry logic, state management, and validation. BatchOperationInitialize
r handles pagination, chunking, command creation, and error handling.
Also:
- The mutable
InitLoopState
class andAtomicReference<ExecutionLoopState>
make the code hard to follow and reason about. - Methods like
executeRetrying()
and initializeBatchOperation()
are doing multiple things and have complex control flow.
Metadata
Metadata
Assignees
Labels
kind/toilCategorizes an issue or PR as general maintenance, i.e. cleanup, refactoring, etc.Categorizes an issue or PR as general maintenance, i.e. cleanup, refactoring, etc.version:8.8.0-alpha8version:8.8.0-alpha8-rc1