Assign proper table oids when upgrading RelationMetadata#19257
Assign proper table oids when upgrading RelationMetadata#19257
Conversation
59db5f4 to
6d858fb
Compare
|
Adding a |
|
This PR does fix the issue when I manually experiment with a 3 node cluster rolling upgrading each node from 6.2 to this branch - observed that the table oids do get assigned. However, it does not logically make sense. With this PR, as the node restarts, the node reads the persisted local metadata and upgrades it to => We must assign table oids when all nodes are upgraded. |
|
The updated part in the PR is part of node start up logic executed before the node joins the cluster. Once it joins the cluster, the node receives ClusterChangedEvent(from master on |
Summary of the changes / Why this improves CrateDB
Checklist
docs/appendices/release-notes/<x.y.0>.rstfor user facing changessql_featurestable for user facing changesdocs/appendices/release-notes/<x.y.0>.rst(E.g. AdminUI)