Re: Joining Apache Cassandra Slack Channel

2022-07-18 Thread Leonard Ma
Thanks Erick!

On Mon, Jul 18, 2022 at 12:00 AM Erick Ramirez 
wrote:

> Invite sent. Welcome to the Cassandra community!
>
>>


[DISCUSSION] Handling precision when reporting stream_throughput_outbound_megabits_per_sec and inter_dc_stream_throughput_outbound_megabits_per_sec

2022-07-18 Thread Ekaterina Dimitrova
Hi everyone,
In 4.0 stream_throughput_outbound_megabits_per_sec and
inter_dc_stream_throughput_outbound_megabits_per_sec
were introduced.
It was requested all data rate parameters to support mebibytes/s,
kibibytes/s and bytes/s with the new config in 4.1 but to support backward
compatibility. This is in place but there is one outstanding question I
wanted to discuss with the community. As we know, converting between
megabits and mebibytes produces double numbers which we already handle
internally. Now, the question is how do we want to handle this in
JMX/nodetool when reporting to the users. The new getters in mebibytes will
be reporting in double to the users (I have a patch for that as we just
added the mebibytes flags in nodetool for stream_throughput_outbound
and inter_dc_stream_throughput_outbound
in 4.1).
I guess changing the getters to report double now will be a breaking change
so the options I see:
- we throw an error if we cannot report integer (the property was set in
mebibytes not megabits) and ask the users to check the mib versions and
report only integers
- We document there can be a loss of precision and people should be looking
into the mib one which will report exact numbers

I guess I would prefer option 1 as people can easily miss anything
documented.

Similar is the question for the Settings Virtual Table, but I guess there
we can switch all to double reporting or set to NA in case the old
properties (in megabits/s) are not integers.

Best regards,
Ekaterina


[RESULT][VOTE] Release Apache Cassandra 4.0.5

2022-07-18 Thread Mick Semb Wever
>
>
> Proposing the test build of Cassandra 4.0.5 for release.
> [snip]
> The vote will be open for 72 hours (longer if needed). Everyone who has
> tested the build is invited to vote. Votes by PMC members are considered
> binding. A vote passes if there are at least three binding +1s and no -1's.
>


The vote passes with three binding +1s and no vetos.


[RELEASE] Apache Cassandra 4.0.5 released

2022-07-18 Thread Mick Semb Wever
The Cassandra team is pleased to announce the release of Apache Cassandra
version 4.0.5.

Apache Cassandra is a fully distributed database. It is the right choice
when you need scalability and high availability without compromising
performance.

 http://cassandra.apache.org/

Downloads of source and binary distributions are listed in our download
section:

 http://cassandra.apache.org/download/

This version is a bug fix release[1] on the 4.0 series. As always, please
pay attention to the release notes[2] and Let us know[3] if you were to
encounter any problem.

IMPORTANT: this artifact contains CASSANDRA-15511, which will significantly
reduce allocations and improve the write throughput, particularly on
collections and contended partitions.

Enjoy!

[1]: CHANGES.txt
https://gitbox.apache.org/repos/asf?p=cassandra.git;a=blob_plain;f=CHANGES.txt;hb=refs/tags/cassandra-4.0.5
[2]: NEWS.txt
https://gitbox.apache.org/repos/asf?p=cassandra.git;a=blob_plain;f=NEWS.txt;hb=refs/tags/cassandra-4.0.5
[3]: https://issues.apache.org/jira/browse/CASSANDRA


Cassandra project status update 2022-07-18

2022-07-18 Thread Josh McKenzie
Sorry for the week delay; gave us some more time to grind away on 4.1!

[Housekeeping]
Congrats Jacek Lewandowski on being voted in as a committer on the project!

After years of service in the role of PMC Chair, Nate McCall has stepped down 
from the role. This role most often does its work behind the scenes, liaising 
between the PMC and the Apache Foundation, and I think it's important to shed 
light on that once in awhile and let you know how much we all appreciate your 
hard work in the role Nate. So: thanks!

The PMC voted and chose Mick Semb Wever as the new PMC Chair - for any of you 
who haven't had the pleasure of working with him yet, he's a delight. :) 
Looking forward to working with you further mck.

For context on the role, from Paulo's announcement email about this to the dev 
list:
The chair is an administrative position that interfaces with the Apache 
Software Foundation Board, by submitting regular reports about project status 
and health. Read more about the PMC chair role on Apache projects:
- https://www.apache.org/foundation/how-it-works.html#pmc
- https://www.apache.org/foundation/how-it-works.html#pmc-chair
- https://www.apache.org/foundation/faq.html#why-are-PMC-chairs-officers

Of note, many projects change the pmc chair on a regular cadence (yearly, etc) 
so more members on the project can get exposure to the foundation and the 
quarterly reporting on community and project health.

Ok, so how's 4.1 looking?
First, active test failures: https://butler.cassandra.apache.org/#/

We're down to ~5 on 4.1. If we take a look at the top level kanban we have 15 
tickets blocking 4.1 beta and 2 blocking RC
https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=484&quickFilter=2455

Of those, we only have 5 issues blocking the beta that are unassigned:
https://issues.apache.org/jira/secure/RapidBoard.jspa?rapidView=484&quickFilter=2455&quickFilter=2160

Thanks everyone for the continued hard work; we'll take a look at the other 
branches in a bit when we cover CI.


[New Contributors Getting Started]
You know those 5 issues blocking the beta that are unassigned? :) Look for test 
failures and run with them!

To give a bit more guidance, here's an explanation of various types of 
contribution: https://cassandra.apache.org/_/community.html#how-to-contribute
An overview of the C* architecture: 
https://cassandra.apache.org/doc/latest/cassandra/architecture/overview.html
And here's our getting started contributing guide: 
https://cassandra.apache.org/_/development/index.html
We hang out in #cassandra-dev on https://the-asf.slack.com, and you can ping 
the @cassandra_mentors alias to reach 13 of us who have volunteered to mentor 
new contributors on the project. Come hang out!


[Dev list Digest]
https://lists.apache.org/list?dev@cassandra.apache.org:lte=3w:
Covering 3 weeks on the dev list this round instead of our regular 2. 

The status update from 6-14 discussion around what qualifies as breaking 
changes drew to a close; the conclusion appears to be that our APIs are pretty 
easy to infer and that the shortcoming historically has been the lack of 
documentation around those heuristics: "If it’s a part of our UX it’s probably 
something we should maintain backwards compatibility for.  If it’s part of our 
internal codebase, probably not. The only two “public” APIs we have inside the 
codebase that I’m aware of are triggers and secondary indexes, and these are 
provided with limited warranty and an expectation of technical sophistication 
for their users." Since an API breaking change pushes us from a .x to an X.0 
release (i.e. Major vs. Minor), we bring discussions to the dev ML about 
changing APIs and necessitating a new major release.

We converged on a syntax for multi-key transactions: 
https://lists.apache.org/thread/zf1zr2mg1wxb0j5ydc23jncbgojfp6qz. Abe had one 
outstanding question that I didn't see addressed on the thread but we can cover 
on the JIRA when it opens (if that JIRA is already open and I missed that, 
sorry about that; ping the thread here Blake ;))

We continue to have a steady stream of marketing and blogs for review hit the 
dev list. This format's working well for me as a reviewer; is that the case for 
everyone else? Would anyone like to see something different (a specific list 
for blog reviews, etc)?

Henrik reached out a couple of weeks ago about a potential revamping of our 
community site with something open to github authenticated folks adding 
entries: "The point with the site is that anyone is welcome to authenticate 
with your github account, and submit an entry with links to your favorite 
Cassandra addon or tool. The idea is that for example the developer of a tool 
is welcome to add and maintain their own entry." This email came in on July 4th 
which I know I personally missed and will need to catch up on; possible some 
others missed it due to US holidays as well. Email thread is here: 
https://lists.apache.org/thread/0839pvq8ob18782fpjy2cor