📣
TiDB Cloud Premium is now in public preview. Unlimited growth, instant elasticity, advanced security for enterprise workloads. Try it out →

ti fs commit-layer



Applies one layer to its base Filesystem.

Syntax

ti fs commit-layer --layer-id <string> [--dry-run] [--file-system-id <string>] [--fs-token <string>] [--help] [--version]

Options

  • --layer-id <string>: Layer ID. [required]
  • --dry-run: Validate the request without applying changes.
  • --file-system-id <string>: Select the file system. You can also set TI_FS_FILE_SYSTEM_ID.
  • --fs-token <string>: Set the file system user token. If omitted, uses TI_FS_TOKEN.
  • --help: Display help information.
  • --version: Display version information.

For options shared by all commands, see Global options.

Examples

  • Commit a layer:

    # Apply the selected layer's changes to its base Filesystem view. ti fs commit-layer --file-system-id <file-system-id> --layer-id "<layer-id>"

Was this page helpful?