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:
- Start a cluster with master and replica.
- Write data using
router.callrw
.
- Put the replica into
OperationError
state (simulate failure).
- 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: