Skip to content

pcie_slot should not be used as a DB primary key #11625

Open

Description

@smklein

inv_physical_disk and inv_nvme_disk_firmware both key off of pcie_slot (see: #11258), and they should not.

I previously punted on this because the alternative option - libtopo location information - might not always be accessible. However, once this information becomes non-optional (see: #11319) we should use it instead as PK.

See also: #11088

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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