You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some cases when the VSchema contains parameters which are not understood by VTGate, VTGate will happily accept the VSchema without emitting any metrics or logs indicating that the VSchema contains unknown fields.
To see evidence of this, apply a VSchema with an extra lookup vindex param:
Feature Description
In some cases when the VSchema contains parameters which are not understood by VTGate, VTGate will happily accept the VSchema without emitting any metrics or logs indicating that the VSchema contains unknown fields.
To see evidence of this, apply a VSchema with an extra lookup vindex param:
As far as I can tell (could be wrong!) VTGate doesn't consider this unusual, although it's possible that may vary from one vindex type to another.
It would be great if VTGate could emit a metric and a logging statement when it encounters fields in the VSchema which it does not understand.
Could make this backwards compatible with a VTGate param like
--vschema-strict-mode=disable|warn|error
:Use Case(s)
Here's a use case where this kind of thing would be pretty useful:
With the right metrics/logs, and operational team could catch this issue in a dev or staging database before it becomes a problem in prod.
The text was updated successfully, but these errors were encountered: