Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Bootstrapping node doesn't wait for schema before joining the ring #4196
This means the node will receive writes before it has an up to date schema. This normally isn't a big problem, because writes will force schema pull when the table is missing. However, user-defined types are currently not pulled, so this bug exposes #3760.
Evidence from the log that schema is not synced:
There's a check inside
This is a change in behavior introduced in 3e415e2 (2.3.0).
The check for ring information is also a no-op because
@tgrabiec if a new node is added to the cluster and the new node is not a seed node will it be able to hit the issue ?
In your view - should we force bootstrapping non seed nodes to pull schema before doing anything else ?
With regards to pulling UDTs, its clear we need to add this - yet I hope the solution above is simpler to implement.