Re: Default sorting in nodetool status CASSANDRA-20104

2024-12-13 Thread Jordan West
I think it’s good we have a yaml/json option but don’t think that rules out having sorting when not using that output type. Jordan On Fri, Dec 13, 2024 at 15:26 Abe Ratnofsky wrote: > Looks like we’re moving towards supporting JSON output for nodetool > commands: > > CASSANDRA-12698

Re: Default sorting in nodetool status CASSANDRA-20104

2024-12-13 Thread Abe Ratnofsky
Looks like we’re moving towards supporting JSON output for nodetool commands:CASSANDRA-12698 (status)CASSANDRA-19771 (gcstats)Is it nodetool’s responsibility to provide sort order flags, when tools like jq exist?

Re: Default sorting in nodetool status CASSANDRA-20104

2024-12-13 Thread Jordan West
I don’t have a strong preference. I agree with Chris that for those clusters not using vnodes, by token is nice. Not sure if it’s worth having the branching for that or just pick some other default and let people use the sort flags to sort by token when applicable. Jordan On Fri, Dec 13, 2024 at

JDK 24 Feature Freeze | Permanently Disabling the Security Manager

2024-12-13 Thread David Delabassee via dev
Welcome to the final OpenJDK Quality Outreach update of 2024! JDK 24, scheduled for General Availability on March 18, 2025 [1], is now in Rampdown Phase One (RDP1) [2]. At this point, the overall JDK 24 feature set is frozen and only low-risk enhancements might still be considered. You will find

Re: [DISCUSS] Deprecation of IEndpointSnitch (CASSANDRA-19488)

2024-12-13 Thread guo Maxwell
Hi All , I tested the AlibabaCloudSnitch、 AlibabaCloudLocationProvider together with NetworkTopologyProximity/NoOpProximity under Alibaba cloud's environment, region : c-hangzhou-b. I builded the package using Sam's final PR and deployed three Cassandra nodes, my test cases are : 1、node joing/decom

Re: Default sorting in nodetool status CASSANDRA-20104

2024-12-13 Thread Chris Lohfink
In the case of not using vnodes, sorting by token would be ideal. Chris On Fri, Dec 13, 2024 at 6:52 AM Štefan Miklošovič wrote: > I want to add that I slightly prefer ordering by ID because for cases when > a cluster is deployed in a cloud environment, IP addresses assigned to > nodes are basi

Re: Default sorting in nodetool status CASSANDRA-20104

2024-12-13 Thread Štefan Miklošovič
I want to add that I slightly prefer ordering by ID because for cases when a cluster is deployed in a cloud environment, IP addresses assigned to nodes are basically random so their sorting does not give any meaningful advantage. In that case, sorting by ID would just order them by their "age". On

Default sorting in nodetool status CASSANDRA-20104

2024-12-13 Thread Štefan Miklošovič
Hello, I am reviewing a patch which enables sorting of nodetool's output (in ascending and descending direction) for every column. The rationale behind it is in (2). My question is, what should we sort by default? The patch does not impose any sorting, by default, it will be just as it is now. I