-
Beta Was this translation helpful? Give feedback.
Answered by
hashhar
May 17, 2023
Replies: 1 comment 6 replies
-
Trino requires all nodes to have same version and environment. So you cannot rolling restart a cluster without workers going offline. Most people do a blue-green instead. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
At some previous place we used DNS address for clients to connect to coordinator. After new cluster was up and we had validated it (ran some test workloads directly against new coordinator address) we would update DNS to point to new coordinator.
This worked because any client who executed query on old cluster got the older cluster coordinator address in the responses and continued reading results from there. After some time when we noticed 0 queries on old coordinator we removed it.
So you can do:
Current cluster:
DNS - mytrino.mycompany.com resolves to C-old
Coordinator - C-old
Workers - W1-old...Wn-old
configure min-required-workers as n/2 for example
Launch new coordinator C-new
F…