Skip to content

Commit

Permalink
Fix bug in SwitchTraffic that wasn't respecting --dry_run for rea…
Browse files Browse the repository at this point in the history
…donly and replica tablets during a resharding event (vitessio#12992)

* use switcher struct when switching shard reads during a reshard event

Signed-off-by: austenLacy <[email protected]>

* Create failing test for bug reported in vitessio#12992, where a TrafficSwitch dry run for reads during resharding tries to actually switch reads and fails

Signed-off-by: Rohit Nayak <[email protected]>

---------

Signed-off-by: austenLacy <[email protected]>
Signed-off-by: Rohit Nayak <[email protected]>
Co-authored-by: Rohit Nayak <[email protected]>
Signed-off-by: 'Stanislav Maksimov' <[email protected]>
  • Loading branch information
2 people authored and maksimov committed Sep 9, 2024
1 parent bebddba commit 5e28ad8
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 5e28ad8

Please sign in to comment.