Feature Description
It should be possible to send queries to tablets with type EXPERIMENTAL from vtgate.
Currently, tablets of type EXPERIMENTAL can't actually get queries routed to them from vtgate, which seems to be a consequence of PRIMARY/REPLICA/RDONLY being hard coded as the only tablet types that are can serve traffic. This is specified in at least two places:
When trying to query them, vtgate returns an error indicating No partition found for tabletType experimental in keyspace <keyspace_name>. This essentially makes the EXPERIMENTAL type only usable if you query vttablet directly via gRPC.
Use Case(s)
To test performance & correctness of new configuration and/or MySQL & vttablet versions, it would be useful to have EXPERIMENTAL tablets that can be queried if explicitly selected by the client, and compare with the real queries. While this could be done out of band by targeting vttablet directly, the queries would follow a different path and would therefore be harder to compare with the real ones.
Feature Description
It should be possible to send queries to tablets with type
EXPERIMENTALfromvtgate.Currently, tablets of type
EXPERIMENTALcan't actually get queries routed to them fromvtgate, which seems to be a consequence ofPRIMARY/REPLICA/RDONLYbeing hard coded as the only tablet types that are can serve traffic. This is specified in at least two places:When trying to query them,
vtgatereturns an error indicatingNo partition found for tabletType experimental in keyspace <keyspace_name>. This essentially makes theEXPERIMENTALtype only usable if you queryvttabletdirectly via gRPC.Use Case(s)
To test performance & correctness of new configuration and/or MySQL & vttablet versions, it would be useful to have
EXPERIMENTALtablets that can be queried if explicitly selected by the client, and compare with the real queries. While this could be done out of band by targetingvttabletdirectly, the queries would follow a different path and would therefore be harder to compare with the real ones.