~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/slave/docs/index.rst

  • Committer: David Shrewsbury
  • Date: 2011-03-07 21:42:32 UTC
  • mto: (2223.1.4 build)
  • mto: This revision was merged to the branch mainline in revision 2225.
  • Revision ID: shrewsbury.dave@gmail.com-20110307214232-bu5327spnr48opws
Add new --slave.max-commit-id option to control where we begin reading the master transaction log.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
-------------
15
15
 
16
16
Most of the options that can be used to control the replication slave plugin
17
 
can only be given in a configuration file. The only exception is the
18
 
:option:`--slave.config-file` option which designates the location of this configuration
19
 
file.
 
17
can only be given in a configuration file. The only exceptions are the
 
18
:option:`--slave.config-file` and :option:`--slave.max-commit-id` options.
20
19
 
21
20
.. program:: drizzled
22
21
 
29
28
   file. The relative path used by plugins is within the :option:`--datadir`
30
29
   directory, so a full path is recommended.
31
30
 
 
31
.. option:: --slave.max-commit-id=arg
 
32
 
 
33
   Manually set the maximum commit ID the slave is assumed to have retrieved
 
34
   from the master. This value will be used by the slave to determine where
 
35
   to begin retrieving replication messages from the master transaction log.
 
36
   This option can be used to provision a new slave machine by setting it to
 
37
   the value output from the drizzledump client when used with the
 
38
   --single-transaction option.
 
39
 
 
40
   This value is not allowed to be set via the configuration file since
 
41
   you would normally only set it once on initial slave startup. This
 
42
   eliminates the possibility of forgetting to delete it from the configuration
 
43
   file for subsequent slave restarts.
 
44
 
32
45
The options below are read from the configuration file.
33
46
 
34
47
.. confval:: master-host