Skip to content

Replica + PostgresShardGeneratedIDAutoField fails #71

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.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions