Page 1 of 1 (7 items)
This post has 6 Replies | 0 Followers

Posts 25195
Forum MVP
Dave Hooton | Forum Activity | Posted: Fri, Jan 21 2011 11:32 PM | Locked

What happens if the patch doesn't match the resource? Or does the Updater first check if one has the latest version and either requests a patch or the updated resource?

Dave
===

Windows 10 & Android 8

Posts 8112
LogosEmployee
Bradley Grainger (Faithlife) | Forum Activity | Replied: Fri, Jan 21 2011 11:45 PM | Locked

It requests a patch that corresponds to the version of the resource you already have. If a patch for that version isn't available, it will download the full resource. If the patch was available, but hashing the resource (after the patch is applied) gives the wrong value, the full resource will be downloaded.

Posts 18818
Rosie Perera | Forum Activity | Replied: Fri, Jan 21 2011 11:51 PM | Locked

Bradley Grainger:

It requests a patch that corresponds to the version of the resource you already have. If a patch for that version isn't available, it will download the full resource. If the patch was available, but hashing the resource (after the patch is applied) gives the wrong value, the full resource will be downloaded.

So, now that patching has been implemented, supposing I have version N of a resource. If I wait a while before updating resources, and there have been two updates to a particular resource since when you started doing patches, will there be a patch available that goes from N to N+1 and another patch for N to N+2, or will the only available patch be N+1 to N+2 and I'll have to do a full resource download?

Posts 25195
Forum MVP
Dave Hooton | Forum Activity | Replied: Sat, Jan 22 2011 2:55 AM | Locked

Bradley Grainger:
It requests a patch that corresponds to the version of the resource you already have. If a patch for that version isn't available, it will download the full resource. If the patch was available, but hashing the resource (after the patch is applied) gives the wrong value, the full resource will be downloaded.

Thanks for the explanation, Bradley. The changes in Beta 5 are quite significant and will benefit users in countries without sophisticated communications.  Rosie's question may well apply to a user installing from a not so recent DVD.

Dave
===

Windows 10 & Android 8

Posts 8112
LogosEmployee
Bradley Grainger (Faithlife) | Forum Activity | Replied: Sat, Jan 22 2011 10:12 AM | Locked

Rosie Perera:

So, now that patching has been implemented, supposing I have version N of a resource. If I wait a while before updating resources, and there have been two updates to a particular resource since when you started doing patches, will there be a patch available that goes from N to N+1 and another patch for N to N+2, or will the only available patch be N+1 to N+2 and I'll have to do a full resource download?

Our resource patching program is currently configured to produce patches for the last three versions (i.e., N-3, N-2, N-1) when an updated resource (version N) is published. The patches go straight from your currently installed version to the latest version; i.e., you can go straight from N-3 to N, and don't have to go in "hops" from N-3 to N-2, N-2 to N-1, N-1 to N, etc.

Posts 8602
TCBlack | Forum Activity | Replied: Sat, Jan 22 2011 12:23 PM | Locked

Bradley Grainger:
Our resource patching program is currently configured to produce patches for the last three versions (i.e., N-3, N-2, N-1) when an updated resource (version N) is published. The patches go straight from your currently installed version to the latest version; i.e., you can go straight from N-3 to N, and don't have to go in "hops" from N-3 to N-2, N-2 to N-1, N-1 to N, etc
Excellent Job Bradley (and all the other devs involved in implementing this)!  Apparently then N-4 creates a full download, that's not at all unreasonable.

 Great job!

Truth Is Still Truth Even if You Don't Believe It

Check the Wiki

Warning: Sarcasm is my love language. I may inadvertently express my love to you.

Posts 18818
Rosie Perera | Forum Activity | Replied: Sat, Jan 22 2011 1:45 PM | Locked

Bradley Grainger:

Our resource patching program is currently configured to produce patches for the last three versions (i.e., N-3, N-2, N-1) when an updated resource (version N) is published. The patches go straight from your currently installed version to the latest version; i.e., you can go straight from N-3 to N, and don't have to go in "hops" from N-3 to N-2, N-2 to N-1, N-1 to N, etc.

Awesome! Thanks, Bradley. It's totally reasonable to make someone do a complete download of a resource if they're 4 versions out of date. The new way is so much of an improvement over the old way. Now if only you can make indexing work faster, too, with some clever trick like this... Oh, I'm so demanding. Smile

Page 1 of 1 (7 items) | RSS