Skip to content

router.callro doesn't fallback to master when replica is in OperationError (regression after upgrade) #581

@vakhov

Description

@vakhov

Description:
After upgrading vshard to 0.1.35, Cartridge integration tests started failing in a scenario where the replica is in OperationError.
Previously, router.callro in this case returned data from the master, but now it returns box.NULL.

Steps to reproduce:

  1. Start a cluster with master and replica.
  2. Write data using router.callrw.
  3. Put the replica into OperationError state (simulate failure).
  4. Attempt to read the data via router.callro.

Expected result:
router.callro falls back to master and returns the data.

Actual result:
router.callro returns box.NULL.

Notes:

Metadata

Metadata

Assignees

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