Skip to content
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

replicaset: add bootstrap #885

Merged
merged 3 commits into from
Jul 16, 2024
Merged

replicaset: add bootstrap #885

merged 3 commits into from
Jul 16, 2024

Commits on Jun 26, 2024

  1. replicaset: create Bootstrapper interface

    Part of #316
    askalt authored and psergee committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    05663ab View commit details
    Browse the repository at this point in the history
  2. replicaset: add bootstrap command

    Part of #316
    askalt authored and psergee committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    4656f36 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2024

  1. replicaset: bootstrap for Cartridge

    Part of #316
    
    @TarantoolBot document
    Title: `tt replicaset bootstrap` bootstraps a Cartridge app or an instance
    
    This patch adds new subcommand for the replicaset module.
    `tt replicaset bootstrap [flags] <APP_NAME|APP_NAME:INSTANCE_NAME>` bootstraps a Cartridge cluster
    or an instance.
    
    The command combines two old cartridge-cli commands: `setup` and `join`.
    Examples:
    
    `tt replicaset bootstrap cartridge_app` bootstraps the cluster from the default
    config file ("replicasets.yml" in the app directory), the file can be specified with `--file` option.
    
    `tt replicaset bootstrap --bootstrap-vshard cartridge_app` bootstraps the cluster and vshard.
    
    `tt replicaset bootstrap --replicaset replicaset cartridge_app:inst` joins the instance "inst" to the replicaset "replicaset".
    askalt authored and psergee committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    8aa347c View commit details
    Browse the repository at this point in the history