Skip to content

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

Merged
wonder-sk merged 1 commit intomasterfrom
fix_non_latest_ver_download
Feb 17, 2022
Merged

Do not check file size for server-reconstructed gpkg file#121
wonder-sk merged 1 commit intomasterfrom
fix_non_latest_ver_download

Conversation

@varmar05
Copy link
Copy Markdown
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
Copy Markdown
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