Skip to content

feat(sync): Handle duplicate clients when multiplexing #713

@erezrokah

Description

@erezrokah

Related to cloudquery/cloudquery#8099 and other PK issues

Due to configuration errors, bugs, etc., multiplexers can generate duplicate clients, that is more than one client with the same fields to use during sync.

We should detect that here

clients = table.Multiplex(client)
(using client.ID()), skip any duplicate clients and add a log warning for those (possibly send it to sentry too).

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