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

fix: ignore invalid/corrupt staging files #990

Merged
merged 7 commits into from
Nov 27, 2024

Conversation

nikhilsinhaparseable
Copy link
Contributor

issue: if one arrow file is present in staging directory of an ingestor, the server panics in the sync flow and does not sync the other files to the backend store

this is a two fold problem -

  1. find the reason behind corruption of an arrow file
  2. discard the invalid/corrupt arrow file and let server sync the other files by notifying the name or the path of the corrupt file for further analysis

This PR solves problem 2 where server notifies the path of the corrupt file name and ignores the file so that other files do not get stuck in the staging directory

issue: if one arrow file is present in staging directory of an ingestor,
the server panics in the sync flow and does not sync the other files to the backend store

this is a two fold problem -
1. find the reason behind corruption of an arrow file
2. discard the invalid/corrupt arrow file and let server sync the other files by notifying the name or the path of the corrupt file for further analysis

This PR solves problem 2 where server notifies the path of the corrupt file name
and ignores the file so that other files do not get stuck in the staging directory
@nitisht nitisht requested a review from de-sh November 16, 2024 10:41
de-sh
de-sh previously approved these changes Nov 27, 2024
Signed-off-by: Devdutt Shenoi <[email protected]>
de-sh
de-sh previously approved these changes Nov 27, 2024
@nitisht nitisht merged commit da78e06 into parseablehq:main Nov 27, 2024
8 checks passed
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.

3 participants