Potential bug in Schema Validation #534
OfekRonNow
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
As far as i understand from source code this is how Schema Validation works (when enabled):
So from what i see, there is a potential bug :
Imagine scenario where CH table(CHT) has schema A, and CHConnect(CHC) synced with it. now we change CHT schema to B, CHC hasnt updated yet, B schema data starts arriving and fails validation untill next schema update - which could only be triggered by next periodic update as validation failure blocks insert attempt e.g there will be no ServerException related trigger.
Suggested Fix - try to update schema on validation failures and retry validation before moving to dlq
Beta Was this translation helpful? Give feedback.
All reactions