Jump to content

KDE PIM/Akonadi Next/Resource

From KDE Community Wiki
Revision as of 19:42, 9 December 2014 by Cmollekopf (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.