Skip to content

backupccl: debug backup export not tested (maybe not working) for tenant backups #82878

@knz

Description

@knz

Describe the problem

When we look at the implementation of cockroach backup export we see that it uses keys.TODOSQLCodec to report the contents of a backup.

This is not likely to work if the backup files contain data for a tenant.

In addition, we see that backup export is not being tested for tenant backups in ccl/cliccl, alongside the other cases in debug_backup_test.go.

Expected behavior

There are passing unit tests in ccl/cliccl that exercise debug backup export for tenant backups.

cc @stevendanna for triage

Jira issue: CRDB-16703

Epic: CRDB-14582

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-disaster-recoveryA-multitenancyRelated to multi-tenancyC-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.T-disaster-recovery

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions