Re: Problem in updating schema in Cassandra 3.11.4

2020-09-01 Thread Weiliang Zhang
Does anyone has any ideas? On 2020/08/31 10:07:30, weiliang zhang<394693...@qq.com> wrote: > Hi everyone, I found that cassandra will first flush new schema to disk and > then change in memory while updating schema in Cassandra3.11.4 > (SchemaKeyspace.java:1378) . > But it seems that cassandra

CVE-2020-13946 Apache Cassandra RMI Rebind Vulnerability

2020-09-01 Thread Sam Tunnicliffe
CVE-2020-13946 Apache Cassandra RMI Rebind Vulnerability Versions Affected: All versions prior to: 2.1.22, 2.2.18, 3.0.22, 3.11.8 and 4.0-beta2 Description: It is possible for a local attacker without access to the Apache Cassandra process or configuration files to manipulate the RMI registry to

Re: Problem in updating schema in Cassandra 3.11.4

2020-09-01 Thread Benjamin Lerer
Hi, Could you precise what you mean by " will only validate the schema while changing in memory, and will not validate before flush to disk.". It is unclear to me of which validation you are talking about. On Tue, Sep 1, 2020 at 1:44 PM Weiliang Zhang <394693...@qq.com> wrote: > Does anyone

Re: Problem in updating schema in Cassandra 3.11.4

2020-09-01 Thread Aleksey Yeshchenko
I’m reasonably certain that this is one of the things that I fixed in 4.0. It’d be too invasive a change for 3.11, unfortunately. > On 1 Sep 2020, at 16:52, Benjamin Lerer wrote: > > Hi, > > Could you precise what you mean by " will only validate the schema while > changing in memory, and will

Re: cassandra.logdir

2020-09-01 Thread Joshua McKenzie
Go for it! On Mon, Aug 31, 2020 at 10:23 PM Cyril Scetbon wrote: > Hey guys, > > Experimenting with Cassandra 4.0 I’m seeing that when CASSANDRA_LOG_DIR is > set and ${cassandra.logdir} is used in logback.xml nodetool doesn’t use the > env variable. It’s different for cassandra for instance > ht

[DISCUSS] Change style guide to recommend use of @Override

2020-09-01 Thread David Capwell
Currently our style guide recommends to avoid using @Override and updates intellij's code style to exclude it by default; I would like to propose we change this recommendation to use it and to update intellij's style to include it by default. @Override is used by javac to enforce that a method is

Re: [DISCUSS] Change style guide to recommend use of @Override

2020-09-01 Thread Dinesh Joshi
+1 > On Sep 1, 2020, at 11:27 AM, David Capwell wrote: > > Currently our style guide recommends to avoid using @Override and updates > intellij's code style to exclude it by default; I would like to propose we > change this recommendation to use it and to update intellij's style to > include it

Re: [DISCUSS] Change style guide to recommend use of @Override

2020-09-01 Thread Jasonstack Zhao Yang
+1 On Wed, 2 Sep 2020 at 02:45, Dinesh Joshi wrote: > +1 > > > On Sep 1, 2020, at 11:27 AM, David Capwell wrote: > > > > Currently our style guide recommends to avoid using @Override and updates > > intellij's code style to exclude it by default; I would like to propose > we > > change this rec

Re: [DISCUSS] Change style guide to recommend use of @Override

2020-09-01 Thread Caleb Rackliffe
+1 On Tue, Sep 1, 2020, 2:00 PM Jasonstack Zhao Yang wrote: > +1 > > On Wed, 2 Sep 2020 at 02:45, Dinesh Joshi wrote: > > > +1 > > > > > On Sep 1, 2020, at 11:27 AM, David Capwell wrote: > > > > > > Currently our style guide recommends to avoid using @Override and > updates > > > intellij's co

Re: [DISCUSS] Change style guide to recommend use of @Override

2020-09-01 Thread Benedict Elliott Smith
+1 On 01/09/2020, 20:09, "Caleb Rackliffe" wrote: +1 On Tue, Sep 1, 2020, 2:00 PM Jasonstack Zhao Yang wrote: > +1 > > On Wed, 2 Sep 2020 at 02:45, Dinesh Joshi wrote: > > > +1 > > > > > On Sep 1, 2020, at 11:27 AM, David Capwell wrote: > > >

Re: [DISCUSS] Change style guide to recommend use of @Override

2020-09-01 Thread Yifan Cai
+1 From: Caleb Rackliffe Sent: Tuesday, September 1, 2020 12:08:50 PM To: dev@cassandra.apache.org Subject: Re: [DISCUSS] Change style guide to recommend use of @Override +1 On Tue, Sep 1, 2020, 2:00 PM Jasonstack Zhao Yang wrote: > +1 > > On Wed, 2 Sep 2020

Re: [DISCUSS] Change style guide to recommend use of @Override

2020-09-01 Thread Jordan West
+1 On Tue, Sep 1, 2020 at 12:22 PM Benedict Elliott Smith wrote: > +1 > > > > On 01/09/2020, 20:09, "Caleb Rackliffe" wrote: > > > > +1 > > > > On Tue, Sep 1, 2020, 2:00 PM Jasonstack Zhao Yang < > jasonstack.z...@gmail.com> > > wrote: > > > > > +1 > > > > > > On Wed, 2

Re: [DISCUSS] Change style guide to recommend use of @Override

2020-09-01 Thread Joshua McKenzie
+1 On Tue, Sep 1, 2020 at 6:26 PM Jordan West wrote: > +1 > > On Tue, Sep 1, 2020 at 12:22 PM Benedict Elliott Smith < > bened...@apache.org> > wrote: > > > +1 > > > > > > > > On 01/09/2020, 20:09, "Caleb Rackliffe" > wrote: > > > > > > > > +1 > > > > > > > > On Tue, Sep 1, 2020, 2:00

Re: [DISCUSS] Change style guide to recommend use of @Override

2020-09-01 Thread Berenguer Blasi
+1 On 2/9/20 5:09, Joshua McKenzie wrote: > +1 > > On Tue, Sep 1, 2020 at 6:26 PM Jordan West wrote: > >> +1 >> >> On Tue, Sep 1, 2020 at 12:22 PM Benedict Elliott Smith < >> bened...@apache.org> >> wrote: >> >>> +1 >>> >>> >>> >>> On 01/09/2020, 20:09, "Caleb Rackliffe" >> wrote: >>> >>> >>>

Re: Committing `CASSANDRA-13701 Lower default num_tokens` and the dtest slowdown…

2020-09-01 Thread Jeremy Hanna
Thanks Adam. Now that we have CASSANDRA-16079 created and work is proceeding, can we please commit CASSANDRA-13701? There are many clusters out there that use the default of 256 num_tokens and migrating to something more sane is a lot of work. It would also be very helpful for having reasonab