Skip to content

SHOW VITESS_SHARDS fails when a keyspace has been deleted #19080

@nickvanw

Description

@nickvanw

When a keyspace is deleted, SHOW VITESS_SHARDS fails because the keyspace name is still cached but fetching shards returns a topo.NoNode error.

The fix is to skip keyspaces that return NoNode errors instead of failing.

Related to #7955 (deleted keyspace state not reflecting in vtgate without restart).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions