Slackbot
01/16/2024, 8:04 AMDavid K
01/16/2024, 4:25 PMGirish Sharma
01/16/2024, 4:26 PMGirish Sharma
01/24/2024, 12:52 PMGirish Sharma
01/31/2024, 11:23 AMPenghui
02/01/2024, 12:44 AMIs there any known challenge/concern when skipping versions in upgrades? What if I want to go from 2.10.x to 3.2.x directly? It would save me a LOT of testing, and benchmarking cycles. If 2.10.x -> 3.2.x is not feasilbe, whats the shortest path here?Honestly, we haven't tested upgrading to 3.2.x from 2.10.x. Instead, we have practiced upgrading to 3.0.x from 2.10.x and helped customers upgrade to the LTS version successfully; it requires some configuration changes. We don't see any problem during the upgrading. Here are the required configuration changes from 2.10.x to 3.0.x • Configure proxyRoles in the conf/broker.conf, https://github.com/apache/pulsar/pull/19455 introduces a breaking change, but it is necessary to improve the security. • Pulsar 3.0 has fixed the issue of broker using the wrong tls trust certificates path. This fix may break some deployments. Please make sure use tlsTrustCertsFilePath instead of tlsCertificateFilePath from the broker.conf to specify the tls trust certificates before upgrading to the Pulsar 3.0. • There is some JDK configurations deprecated as follows:
XX:+UseConcMarkSweepGC XX:CMSInitiatingOccupancyFraction=70 XX:+UseCMSInitiatingOccupancyOnly , If you want to use your existing configuration file, you'd better check if you have these options in your pulsar_env.sh and bkenv.sh
It should be similar to upgrading to 3.2.x, but you need to practice on your test environment first.
The documentation says "starting from 3.0.. live upgrades between one LTS and next one is guaranteed" - I am assuming this only means going from 3.0.x (LTS version) to whatever the next LTS version would be (say, 4.0.x) .. but it does not mean that I can go directly from 3.0.x to 3.3.x - is this correct?This is a good question. It should be part that we need to clarify in the documentation. We need to start a discussion in the community to ensure the strategy and add it to the documentation.
Penghui
02/01/2024, 12:58 AMGirish Sharma
02/01/2024, 5:38 AMMuni Chada
02/01/2024, 8:28 AM