VReplication: trafficswitcher's changeShardsAccess
always operates on the source keyspace
#8019
Labels
changeShardsAccess
always operates on the source keyspace
#8019
In
changeShardsAccess
, we always operate on thesourceKeyspace
of the workflow here, ignoring thekeyspace
parameter:However in
allowTargetWrites
, we passtargetKeyspace
as thekeyspace
parameter here:Now, technically, this is currently fine, because we don't do any reshard workflows across keyspaces (it doesn't make sense), but that can't really be expressed in the code, and if we were to ever change that design constraint, we could get surprised by this.
The text was updated successfully, but these errors were encountered: