Skip to content

Replica + PostgresShardGeneratedIDAutoField fails #71

@M1ha-Shvn

Description

@M1ha-Shvn

Hello.
Here's a bug:
image
The problem occures, if I add replica to one of the shards, and use PostgresShardGeneratedIDAutoFieldat the same time. The reason is, that replicas have no SHARD_ID assigned, and iteration raises KeyError.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions