Thanks for your answers Enrico. On a high level, I understand that rollback is not supported and there is no plan to test and support it. But technically it is possible to do a rollback if new feature is not enabled after upgrade which is likely to change the file format.
From the document, I see that there is option to rollback the file format after upgrade. Will this help us if we have to perform the rollback of data format as well? bookkeeper-server/bin/bookkeeper upgrade --rollback Regards, Subash Kunjupillai From: Enrico Olivelli <[email protected]> Sent: 16 April 2020 19:47 To: user <[email protected]> Subject: Re: Rollback of Apache Bookeeper Il giorno gio 16 apr 2020 alle ore 15:01 Subash K <[email protected]<mailto:[email protected]>> ha scritto: Hi Enrico, Thanks for your response. I’ve following queries on top of your response: * In general is community planning to test and support issues in rollback of Bookkeeper down the lane? Unfortunately no. We are only testing regular upgrades, not rollback. It should be doable with current docker based integration testing tools. * * We might not frequently upgrade Bookkeeper unless it is demanded by Pulsar. In that case, we might skip few intermediate versions and upgrade directly to an higher version. In that case, are we foreseeing any compatibility change that will cause hinderance during rollback? Usually this is not a problem. As far as you continue to upgrade from a supported version to a supported version. If I remember correctly currently we are officially supporting only BK 4.8 to 4.10. * * I’ve not fully gone through the internal working of Bookkeeper. But I would like to understand, can old version of bookie(after rollback) access the new data stored by upgraded bookie? Usually yes, as far as you do not activate new features that need a new format of data on disk Enrico * Regards, Subash Kunjupillai From: Enrico Olivelli <[email protected]<mailto:[email protected]>> Sent: 16 April 2020 16:05 To: user <[email protected]<mailto:[email protected]>> Subject: Re: Rollback of Apache Bookeeper Hi Subash, usually by default there is no problem in rolling back to the previous version. For instance if you are running 4.9 and you upgrade to 4.10 your bookies you can downgrade to 4.9 just by using the old code. This is because we introduce new features but they are disabled by default at least for one release. But I suggest you to perform a test about the rollback before going to production Enrico Il giorno gio 16 apr 2020 alle ore 12:23 Subash K <[email protected]<mailto:[email protected]>> ha scritto: Hi, We are planning to introduce Apache Pulsar in our product. In general we always support upgrade and rollback of our product. So I'm trying to understand is there any defined steps provided to support rollback of Apache Bookeeper to its earlier version after completing full cluster upgrade? I was not able to find those information in https://bookkeeper.apache.org/docs/latest/admin/upgrade/<https://slack-redir.net/link?url=https%3A%2F%2Fbookkeeper.apache.org%2Fdocs%2Flatest%2Fadmin%2Fupgrade%2F&v=3> Regards, Subash Kunjupillai
