Re: Downgradability

2023-02-21 Thread Abe Ratnofsky
Some interesting existing work on this subject is "Understanding and Detecting Software Upgrade Failures in Distributed Systems" - https://dl.acm.org/doi/10.1145/3477132.3483577, also summarized by Andrey Satarin here: https://asatarin.github.io/talks/2022-09-upgrade-failures-in-distributed-sys

[DISCUSS] Allow UPDATE on settings virtual table to change running configuration

2023-02-21 Thread Maxim Muzafarov
Hello everyone, I would like to share and discuss the key point of the solution design with you before I finalise a pull request with tedious changes remaining so that we are all on the same page with the changes to the valuable Config class and its accessors. Here is the issue I'm working on: "

Re: Downgradability

2023-02-21 Thread Jeremiah D Jordan
If we can get opt-in major format upgrades, as well as an offline sstabledowngrade tool, I think we have a good first step that would make downgrades possible. Given Jacek’s work on the sstable format API, and the work from Yuki and Claude on old formats, I think we are pretty close to having b

Re: Downgradability

2023-02-21 Thread Benedict
As always, Scott puts it much more eloquently than I can. The only thing I’d quibble with is that I think it is better to make changes backwards compatible, rather than make earlier releases forwards compatible - and where this is prohibitively costly to simply make a feature that depends on it una

Re: Downgradability

2023-02-21 Thread C. Scott Andreas
I realize my feedback on this has been spread across tickets and older mailing list / wiki discussions, so I'll offer a proposal here.Starting with goals -1. Cassandra users must be able to abort and revert an upgrade to a new version of the database that introduces a new major SSTable format.Thi

Re: Downgradability

2023-02-21 Thread Claude Warren, Jr via dev
My goal in implementing CASSANDRA-8928 was to be able to take the current version 4.x and write it as the earliest 3.x version possible. The reasoning being that if that was possible then whatever 3.x version was executed

Re: Downgradability

2023-02-21 Thread Benedict
This isn’t a feature in any normal sense? It’s a commitment, and it requires every contributor to consider it as part of work they produce.I agree we should put in some work to make this easier, and to provide some test guarantees that we don’t break it. But are we overstating the difficulty? We al

Re: Regarding CASSANDRA-14227

2023-02-21 Thread manish khandelwal
Hi Benjamin, thanks for your response. And Berenguer Blasi you are the shining light for us. Regards Manish On Tue, Feb 21, 2023 at 3:04 PM Berenguer Blasi wrote: > I'm actively working on it :-) > On 21/2/23 9:56, Benjamin Lerer wrote: > > Hi Manish, > It is unfortunately not an easy bug to fi

Re: Regarding CASSANDRA-14227

2023-02-21 Thread Berenguer Blasi
I'm actively working on it :-) On 21/2/23 9:56, Benjamin Lerer wrote: Hi Manish, It is unfortunately not an easy bug to fix as it has some significant impact at different levels of the code base. The plan is to have the fix as part of 5.0 which should be released later this year. Le mar. 21

Re: Regarding CASSANDRA-14227

2023-02-21 Thread Benjamin Lerer
Hi Manish, It is unfortunately not an easy bug to fix as it has some significant impact at different levels of the code base. The plan is to have the fix as part of 5.0 which should be released later this year. Le mar. 21 févr. 2023 à 09:48, manish khandelwal < manishkhandelwa...@gmail.com> a écri

Re: Downgradability

2023-02-21 Thread Branimir Lambov
It appears to me that the first thing we need to start this feature off is a definition of a suite of tests together with a set of rules to keep the suite up to date with new features as they are introduced. The moment that suite is in place, we can start having some confidence that we can enforce

Re: Downgradability

2023-02-21 Thread Benjamin Lerer
> > It seems to me the real issue is nobody noticed this was agreed and/or > forgot and didn’t think about it much. I have some trouble keeping up with all the discussions those days so I might have missed the discussion. The only place I remembered where this subject was mentioned was during the

Regarding CASSANDRA-14227

2023-02-21 Thread manish khandelwal
Hi Team We are hit by this bug as we approach the deadline as we reach close to 2038 as we can see some of our projects breaching the deadline fixed. I can see some progress made in this bug by Berenguer Blasi in last few months. I do understand that review timings and development can not be pred