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

Adding Checksum to Disk Queue Segment Files #64

Open
medcl opened this issue Jan 15, 2025 · 0 comments
Open

Adding Checksum to Disk Queue Segment Files #64

medcl opened this issue Jan 15, 2025 · 0 comments

Comments

@medcl
Copy link
Member

medcl commented Jan 15, 2025

Disk queue segment files lack a mechanism to verify data integrity, making them susceptible to issues like:

  • Corrupted Data: Partial writes, unexpected shutdowns, or disk errors can result in unreadable or inconsistent data.
  • Dirty Reads: Files being read while still being written may lead to incomplete or invalid messages being processed.
  • Debugging Challenges: Without a verification mechanism, identifying the root cause of errors in disk queue operations is challenging.

Adding a checksum hash to segment files will address these problems by enabling validation of file contents during read and write operations, ensuring robustness and reliability of the disk queue.

@medcl medcl changed the title Adding Checksum Hash to Disk Queue Segment Files Adding Checksum to Disk Queue Segment Files Jan 15, 2025
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

No branches or pull requests

1 participant