May I ask the advised way to upgrade DataHub properly?
For the context, we’ve managed to rebase the project from v0.8.35 to v0.10.1 and are thinking about the rollout plan with migration on both MySQL and ES sides, which is expected to take ~18h. (due to
full table scan in MySQL to move policies into ES). And it will be great to get some insights from you.
• We are super happy to see the migration job
datahub-upgrade is decoupled from GMS Spring bootstrap step, but are wondering what’s the best way to deploy it. For example, say our services are running in k8s without Helm, should we deploy datahub-upgrade as a separate k8s workload resource, or within GMS as a sidecar/init container, or there are other recommended ways?
• According to our understanding of how ES re-index works, we expect there will be data loss if we don’t turn off mae consumer. Is that a correct assessment? And if that’s the case and the migration is going to take long, is there a way to reduce the system downtime during the upgrade?
• Any other tips?