You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the case where the same chunk appears more than once in a debug file chunk upload, we only need to upload the chunk once. However, we currently upload duplicate chunks as many times as they appear in the file we are trying to upload. This was observed while implementing the new chunk uploading tests (#2275).
We should deduplicate chunks before upload. Likely, this can be done easily by using a HashSet (just throw all the chunks we want to upload into the HashSet before uploading to eliminate duplicates).
We should also modify our chunk uploading tests to verify that each unique chunk gets uploaded only once. This will likely require using a multiset.
The text was updated successfully, but these errors were encountered:
In the case where the same chunk appears more than once in a debug file chunk upload, we only need to upload the chunk once. However, we currently upload duplicate chunks as many times as they appear in the file we are trying to upload. This was observed while implementing the new chunk uploading tests (#2275).
We should deduplicate chunks before upload. Likely, this can be done easily by using a
HashSet
(just throw all the chunks we want to upload into theHashSet
before uploading to eliminate duplicates).We should also modify our chunk uploading tests to verify that each unique chunk gets uploaded only once. This will likely require using a multiset.
The text was updated successfully, but these errors were encountered: