Collection Contents Previous Next PDF

MobiLink Administration Guide

Synchronization Techniques

Handling failed downloads


Bookkeeping information about what is downloaded must be maintained in the download transaction. This information is updated atomically with the download being applied to the remote database.

If a failure occurs before the entire download stream is applied to the remote database, and if you change SendDownloadAck to ON, then the MobiLink synchronization server does not get confirmation for the download and rolls back the download transaction. Since the bookkeeping information is part of the download transaction, it is also rolled back. Next time the download stream is built, it will use the original bookkeeping information.

For more information, see SendDownloadACK (sa) extended option or Send Download Acknowledgement synchronization parameter.

When testing your synchronization scripts, you should add logic to your end_download script that causes occasional failures. This will ensure that your scripts can handle a failed download.


Resuming failed downloads

Collection Contents Previous Next PDF