Skip to content

Use source and replica terminology instead of master and slave #133

Description

@aaditya-dubey14

Component/provider
Which area does this feature relate to? (check all that apply)

  • MySQL (core sandbox functionality)
  • ProxySQL (integration, deployment)
  • Orchestrator (integration, deployment)
  • PostgreSQL (future provider)
  • Core (CLI, configuration, topology engine)

dbdeployer still uses the terms master and slave when deploying a replication sandbox.

The terminology should be updated to source and replica, following the terminology currently used by MySQL.

Steps to reproduce

Run:

dbdeployer --sandbox-binary=$HOME deploy replication ps8.0.46/
Current output
Installing and starting master
. sandbox server started
Installing and starting slave1
. sandbox server started
Installing and starting slave2
. sandbox server started
$HOME/sandboxes/rsandbox_ps8_0_46/initialize_slaves
initializing slave 1
initializing slave 2
Replication directory installed in $HOME/sandboxes/rsandbox_ps8_0_46
run 'dbdeployer usage multiple' for basic instructions

The output should use source and replica terminology, for example:

Installing and starting source
. sandbox server started
Installing and starting replica1
. sandbox server started
Installing and starting replica2
. sandbox server started
$HOME/sandboxes/rsandbox_ps8_0_46/initialize_replicas
initializing replica 1
initializing replica 2
Replication directory installed in $HOME/sandboxes/rsandbox_ps8_0_46
run 'dbdeployer usage multiple' for basic instructions

Please consider updating the terminology in:

  • Command output and log messages
  • Generated script names, such as initialize_slaves
  • Sandbox directory or server names
  • Documentation and usage examples
  • Internal variables and comments, where practical

Backward compatibility may be required for existing script names and automation. For example, initialize_slaves could remain available as an alias while initialize_replicas becomes the preferred name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions