Skip to content

[ADD] base: document cli options for replica #13942

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 18.0
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions content/developer/reference/cli.rst
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,20 @@ Database

port the database listens on, defaults to 5432

.. option:: --db_replica_host <hostname>

host for the replica server

When set, it redirect all read-only transactions to this host, instead of of the primary
database at ``--db_host``.

The host can be set to an empty string or to the same value as ``--db_host`` to simulate a
replicated environnement, for development.

.. option:: --db_replica_port <port>

port the replica database listens on, defaults to 5432

.. option:: --db-filter <filter>

hides databases that do not match ``<filter>``. The filter is a
Expand Down