Skip to content

Do not check file size for server-reconstructed gpkg file #121

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

Merged
merged 1 commit into from
Feb 17, 2022

Conversation

varmar05
Copy link
Contributor

@varmar05 varmar05 commented Feb 9, 2022

This is to avoid mismatch of actual size of downloaded file and original size that server created.
The reason for mismatch is that if gpkg file is reconstructed on server using geodiff changesets it can eventually has a different size than original file (removed for space optimization).

closes #119

This is to avoid mismatch of actual size of downloaded file and original size that server created.
The reason for mismatch is that if gpkg file is reconstructed on server using geodiff changesets it can eventually has a different size than original file (removed for space optimization)
@varmar05 varmar05 requested a review from wonder-sk February 9, 2022 12:34
@varmar05
Copy link
Contributor Author

varmar05 commented Feb 9, 2022

@wonder-sk I tested this against the live project where we discovered the issue. But I do not add unit test here since it requires quite specific remote project setup (a gpkg file which would be restored on demand and with different size).

@wonder-sk wonder-sk merged commit 73cdf06 into master Feb 17, 2022
@alexbruy alexbruy deleted the fix_non_latest_ver_download branch February 27, 2023 14:53
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.

For download of non-latest versions do not check size
2 participants