You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Add thread safety to exclusive partition processing
- Add threading.Lock to protect shared state for exclusive streams
- Wrap access to _pending_partitions_per_exclusive_stream and
_exclusive_stream_partition_in_progress with lock
- Set in_progress flag BEFORE popping from queue to prevent race condition
- Add docstring note about lock requirement for _submit_next_exclusive_partition
Addresses Copilot review comments about thread safety concerns.
Co-Authored-By: alfredo.garcia@airbyte.io <freddy.garcia7.fg@gmail.com>
0 commit comments