P4jrep
From PDWiki
| ||||||||||||||||
p4jrep replicates journal entries from a source server into one or more target servers. Though it was originally written to replicate from a source server to target servers on the same machine, it can be used to replicate across machines. p4jrep correctly handles journal rotations of the source server. p4jrep tracks the last journal entry replicated from the source server; it can correctly resume replication after p4jrep is restarted (unless the source server's journal was rotated while p4jrep was not running).
p4jrep does not support full bi-directional replication.
Filters can be used with p4jrep to customize the journal entries that are replicated. A filter can simply filter out single-line journal entries for tables that are not necessary in a target server (see egrepfilter.sh for an example of such a filter). Or, a filter can replicate journal entries, some of which might span multiple journal records, for only a few select tables (see awkfilter.sh for an example of such a filter). Filters can be written in C++ for very specific customizations such as those requiring maintaining state throughout the replication. Filters can be piped together for additional functionality, such as using ssh to replicate across machines.
p4jrep binaries available for download:
Other platforms (except Cygwin and Windows) might be available on request.
Recent Changes
p4jrep is built with source from //guest/michael_shields/src/p4jrep/... and //guest/michael_shields/src/common/... .
Recent changes in //guest/michael_shields/src/p4jrep/... are:
- Change 6473 on 2008/10/20 by michael_shields@michael_shields-scratchy 'Ported to SOLARIS10X86_64. '
- Change 6439 on 2008/08/28 by michael_shields@michael_shields-scratchy 'Updating for the 2008.1 p4d. Th'
- Change 6256 on 2008/02/28 by michael_shields@michael_shields-nw8240 'Additional tidbits to bring the'
- Change 6167 on 2008/01/28 by michael_shields@michael_shields-scratchy 'Added -m64 for linux26x86_64 co'
- Change 6157 on 2008/01/28 by michael_shields@michael_shields-nw8240 'There's probably no need for bu'
Recent changes in //guest/michael_shields/src/common/... are:
- Change 6473 on 2008/10/20 by michael_shields@michael_shields-scratchy 'Ported to SOLARIS10X86_64. '
- Change 6167 on 2008/01/28 by michael_shields@michael_shields-scratchy 'Added -m64 for linux26x86_64 co'
- Change 6155 on 2008/01/28 by michael_shields@michael_shields-nw8240 'Updated for the 2007.3 release '
- Change 5288 on 2006/01/20 by michael_shields@michael_shields-plopt4 'Updated to use the 2005.2 API. '
- Change 5119 on 2005/09/16 by michael_shields@michael_shields-duey 'Added -t delay in an attempt to'
