Name

REPL_ADD_DAV_CR — Creates conflict resolver for bi-directional replication in DAV

Synopsis

None REPL_ADD_DAV_CR ( in col varchar ,
  in name_suffix varchar ,
  in order integer ,
  in class varchar );
 

Description

Simple conflict resolvers for DAV bi-directional replication can be generated by calling this function.

Parameters

col

Collection for which to generate a conflict resolver for.

name_suffix

Conflict resolver name suffix.

order

Resolver order number.

class

class can be one of the following:

  • 'max_mtime' resource with maximum mtime wins (most recent resource)
  • 'min_mtime' resource with minimum mtime wins
  • 'max_ctime' resource with maximum ctime wins
  • 'min_ctime' resource with minimum ctime wins
  • 'backup' backup of resource that lost conflict resolution will be performed, conflict resolution will continue
  • 'notify' owner of resource will be notified if his resource lost conflict resolution
  • 'pub_wins', 'custom' publisher always wins
  • 'sub_wins' subscriber always wins

Return Types

None.

Examples

Example 24.375.  Conflict Resolver

A conflict resolver that chooses a resource with minimal creation time can be defined with the following statement:

REPL_ADD_DAV_CR('/DAV/regress', 'min_ctime', 100, 'min_ctime');


© 1992 - OpenLink Software. All rights reserved.

Making Technology Work for You®