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: cleanup storage and serializer implementation #371

Open
wants to merge 18 commits into
base: uplink-next
Choose a base branch
from

Conversation

amokfa
Copy link
Collaborator

@amokfa amokfa commented Nov 13, 2024

Work in progress PR.

Closes #

SHIP-48
SHIP-56
SHIP-57
SHIP-58
SHIP-59

Changes

  • Include storage implementation in main uplink module
  • Clean up storage implementation
  • Add thorough documentation wherever necessary
  • Implemented various TODOs in serializer/mod.rs
  • No changes in backup file format. Old backups will continue to work.

Why?

Serialization related code was hard to follow and understand. This PR adds a disk backed queue interface in serializer/storage.rs to improve readability.

Trials Performed

  • Used toxiproxy to simulate network problems and verified all the data is uploaded properly
  • Thorough testing remaining

@amokfa amokfa force-pushed the serializer-storage-cleanup branch 4 times, most recently from c385ddf to 5d39851 Compare November 28, 2024 05:31
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