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

lastUploadedCheckSum in FileIndex is only being updated for v0 files #18

Open
crspybits opened this issue Aug 5, 2021 · 0 comments
Open

Comments

@crspybits
Copy link
Member

I just looked at this now, and for vN (mutable file) this FileIndex value doesn't get updated. Though, for now, I'm relying on this in isDuplicateV0Upload. In general, I need a way to test for v0 retries-- i.e., isDuplicateV0Upload. See SyncServerII/Neebla#25 (comment).

If I start using lastUploadedCheckSum more generally, which I should I should likely keep two check sums:

  1. a v0 checksum and
  2. a current vN checksum.

Though that could get confusing because I'm currently allowing (at least for relatively brief intervals) downloads of various (stale) file versions.

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