KDE PIM/Akonadi Next/Resource: Difference between revisions

From KDE Community Wiki
(Created page with "The resource consists of: * the syncronizer process * a plugin providing the client-api facade * a configuration setting up the filters === Syncronizer === * The synchronizat...")
(No difference)

Revision as of 19:42, 9 December 2014

The resource consists of:

  • the syncronizer process
  • a plugin providing the client-api facade
  • a configuration setting up the filters

Syncronizer

  • The synchronization can either:
    • Generate a full diff directly on top of the db. The diffing process can work against a single revision, and could even stop writing other changes to disk while the process is ongoing (but doesn't have to due to the revision). It then generates a necessary changeset for the store.
    • If the source supports incremental changes the changeset can directly be generated from that information.

The changeset is then simply inserted in the regular modification queue and processed like all other modifications. The synchronizer already knows that it doesn't have to replay this changeset to the source, since replay no longer goes via the store.