Skip to content

Conversation

@gaikwadabhishek
Copy link
Contributor

  • Implemented logging for batch.get() failures, triggering a sequential GET fallback.
  • Added error handling for cases where the batch result iterator is exhausted prematurely.
  • Enhanced unit tests to cover fallback scenarios, including handling of archive paths and multiple cuts.

This update improves the robustness of the AISBatchLoader by ensuring that data can still be retrieved even when batch requests fail.

- Implemented logging for batch.get() failures, triggering a sequential GET fallback.
- Added error handling for cases where the batch result iterator is exhausted prematurely.
- Enhanced unit tests to cover fallback scenarios, including handling of archive paths and multiple cuts.

This update improves the robustness of the AISBatchLoader by ensuring that data can still be retrieved even when batch requests fail.

Signed-off-by: Abhishek Gaikwad <[email protected]>
@gaikwadabhishek gaikwadabhishek marked this pull request as draft January 13, 2026 18:56
- Introduced `_get_object_from_moss_in` method to handle individual object retrieval from AIStore when batch operations fail or return empty content.
- Updated the sequential GET logic to utilize the new method, improving error handling and logging for empty object scenarios.

Signed-off-by: Abhishek Gaikwad <[email protected]>
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.

1 participant