Skip to content

Sequelize should be able to create transactions on read replica #7323

Closed

Description

@xkjyeah

What you are doing?

sequelize(..., {
    replication: {
        read: [REPLICA],
        write: PRIMARY
    }
})

sequelize.transaction(() => {
    /* Read-only stuff here that requires repeatable reads */
})

What do you expect to happen?

The transaction should execute on the read replica.

What is actually happening?

It executes on the write.

Activity

  1. added
    type: feature
    on Mar 4, 2017
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

    type: feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions