Re: Recycled-Commitlogs

2025-07-02 Thread Josh McKenzie
, 2 Jul 2025 at 07:57, Marc Hoppins wrote: >> SO CASSANDRA NEVER HAD RECYCLED COMMIT LOGS? If not then I apologise for >> wasting everyone’s time. However if, for previous versions, recycled >> commitlogs were a part of Cassandra then thank you fr not sharing the >

Re: Recycled-Commitlogs

2025-07-01 Thread Josh McKenzie
ain WHAT they are? If they were done away with in > Cassandra then they must have been surplus to requirements. In which case, > why have them originally? They must have been there for some reason. > > *From:* Josh McKenzie > *Sent:* Monday, June 30, 2025 4:16 PM > *To:* us

Re: Recycled-Commitlogs

2025-06-30 Thread Josh McKenzie
> As it is (generally) Cassandra compatible I naturally assumed that these > items were in both applications. For future reference - it's "generally CQL API compatible". That's the extent of it. It's analogous to driving a make/model of one car and taking it to a completely different unrelated

Re: Recycled-Commitlogs

2025-06-26 Thread Josh McKenzie
> cdc / point in time backup mirrors some of the concepts around hanging onto > segments That was my first thought but we never prepended "Recycled-" on the front of that that I know of. On Thu, Jun 26, 2025, at 1:35 PM, Jeff Jirsa wrote: > > What version of cassandra is this? > > Recycling s

Re: [External]Cassandra 5.0: Any Official Tests Supporting 'Free Performance Gains'

2025-03-20 Thread Josh McKenzie
clarity on how impactful these changes are for data density and performance; thanks for raising this question as it helps clarify that. ~Josh On Wed, Mar 19, 2025, at 10:35 AM, Jiri Steuer (EIT) wrote: > Hi FMH, > > I haven't seen these official tests and that was the reason I did the

Re: [Question]When does Cassandra support OpenJDK 20 and above?

2025-03-02 Thread Josh McKenzie
My hope is to have JDK21 support merged in before our next major which we'll likely push to release this calendar year. Work is tracked here: https://issues.apache.org/jira/browse/CASSANDRA-18831 At this point there's a handful of test failures to burn down but otherwise JDK21 support is largel

Re: Cassandra 5 Upgrade - Storage Compatibility Modes

2024-12-17 Thread Josh McKenzie
It's kind of a shame we don't have rolling restart functionality built in to the database / sidecar. I know we've discussed that in the past. +1 to Jon's question - clients (i.e. java driver, etc) should be able to handle disconnects gracefully and route to other coordinators leaving the applic

Re: CDC and schema disagreement

2024-09-23 Thread Josh McKenzie
? Might even be other params that we can enable/disable on the node level we're not checking in the guardrails on alter; CDC predated guardrails so this might be an isolated oversight but /shrug. On Mon, Sep 23, 2024, at 11:06 AM, Josh McKenzie wrote: > I wouldn't be surprised if we

Re: CDC and schema disagreement

2024-09-23 Thread Josh McKenzie
I wouldn't be surprised if we don't have logic in place to handle that disjoint (DDL for disabled .yaml property) at least in the case of CDC. It's been the better part of a decade since that first impl but I don't have any recollection of that logic being in there. Let me take a quick look at

Re: ssl certificate hot reloading test - cassandra 4.1

2024-04-18 Thread Josh McKenzie
I think it's all part of the same issue and you're not derailing IMO Abe. For the user Pabbireddy here, the unexpected behavior was not closing internode connections on that keystore refresh. So ISTM, from a "featureset that would be nice to have here" perspective, we could theoretically provide

Re: Cassandra p95 latencies

2023-08-14 Thread Josh McKenzie
> The queries are rightly designed Data modeling in Cassandra is 100% gray space; there unfortunately is no right or wrong design. You'll need to share basic shapes / contours of your data model for other folks to help you; seemingly innocuous things in a data model can cause unexpected issues w

Re: Materialized View inconsistency issue

2023-08-14 Thread Josh McKenzie
When it comes to denormalization in Cassandra today your options are to either do it yourself in your application layer or rely on Materialized Views to do it for you at the server layer. Neither are production-ready approaches out of the box (which is one of the biggest flaws in the "provide it

Re: Repair errors

2023-08-06 Thread Josh McKenzie
Quick drive-by observation: > Did not get replies from all endpoints.. Check the > logs on the repair participants for further details > dropping message of type HINT_REQ due to error > org.apache.cassandra.net.AsyncChannelOutputPlus$FlushException: The > channel this output stream was writing to

Re: Unsubscribe

2023-06-20 Thread Josh McKenzie
Email user-unsubscr...@cassandra.apache.org to unsub. https://cassandra.apache.org/_/community.html See: User Mailing List For broad, opinion-based questions, general discussions, ask how to get help, or receive announcements, please subscribe to the user mailing list. Security issues need to

Apache TAC: assistance for travel to Berlin Buzzwords

2023-03-24 Thread Josh McKenzie
mation and how to apply. Applications close on 15th April. Good luck to those that apply. Gavin McDonald (VP TAC) ---- ~Josh

Re: How beta is 4.0-beta3?

2020-11-24 Thread Josh Snyder
If you are able to build Cassandra yourself, one other option is to backport the ZstdCompressor patch. That's the route we opted to take. I've put our Zstd patch against Cassandra 3.0, as backported by Joey Lynch, up on Github [1]. Our experience with Zstd has been that it works wonders on many ki

Re: Upgrade strategy for high number of nodes

2019-11-29 Thread Josh Snyder
a time within a rack is the same as a partial rack outage, from the database's perspective. Have a nice upgrade! Josh On Fri, Nov 29, 2019 at 7:22 AM Shishir Kumar wrote: > Hi, > > Need input on cassandra upgrade strategy for below: > 1. We have Datacenter across 4 geography (

Re: Filling in the blank To Do sections on the Apache Cassandra web site

2018-02-27 Thread Josh McKenzie
Might help, organizationally, to put all these efforts under a single ticket of "Improve web site Documentation" and add these as sub-tasks. Should be able to do that translation post-creation (i.e. in its current state) if that's something that makes sense to you. On Mon, Feb 26, 2018 at 5:24 PM,

Re: Cassandra Needs to Grow Up by Version Five!

2018-02-21 Thread Josh McKenzie
There's a disheartening amount of "here's where Cassandra is bad, and here's what it needs to do for me for free" happening in this thread. This is open-source software. Everyone is *strongly encouraged* to submit a patch to move the needle on *any* of these things being complained about in this t

Re: CDC usability and future development

2018-01-31 Thread Josh McKenzie
> > CDC provides only the mutation as opposed to the full column value, which > tends to be of limited use for us. Applications might want to know the full > column value, without having to issue a read back. We also see value in > being able to publish the full column value both before and after t

Re: inconsistent results

2017-02-14 Thread Josh England
e getting a lot of timeouts you will almost certainly end up with > consistency issues. You're going to need to fix the root cause, your > cluster instability, or this sort of issue will be commonplace. > > > On Tue, Feb 14, 2017 at 1:43 PM Josh England wrote: > >> I&#x

Re: inconsistent results

2017-02-14 Thread Josh England
I'm sorry, yes. The primary key is (foo_prefix, foo), with foo_prefix being the partition key. The query is: select * from table WHERE foo_prefix='blah'; -JE

Re: inconsistent results

2017-02-14 Thread Josh England
nt from my iPhone > > On 14 Feb 2017, at 22:37, Josh England wrote: > > All client interactions are from python (python-driver 3.7.1) using > default consistency (LOCAL_ONE I think). Should I try repairing all nodes > to make sure all data is consistent? > > -JE > > &

Re: inconsistent results

2017-02-14 Thread Josh England
;t respond in > time those records seem to get dropped. > > On Tue, Feb 14, 2017 at 1:37 PM Josh England wrote: > >> All client interactions are from python (python-driver 3.7.1) using >> default consistency (LOCAL_ONE I think). Should I try repairing all nodes >> to mak

Re: inconsistent results

2017-02-14 Thread Josh England
ads/writes? > > Sent from my iPhone > > > On 14 Feb 2017, at 22:27, Josh England wrote: > > > > I'm running Cassandra 3.9 on CentOS 6.7 in a 6-node cluster. I've got a > situation where the same query sometimes returns 2 records (correct), and > sometimes only

inconsistent results

2017-02-14 Thread Josh England
I'm running Cassandra 3.9 on CentOS 6.7 in a 6-node cluster. I've got a situation where the same query sometimes returns 2 records (correct), and sometimes only returns 1 record (incorrect). I've ruled out the application and the indexing since this is reproducible directly from a cqlsh shell wit

Schema Changes

2016-11-15 Thread Josh Smith
another table besides system.local and peers? Any help would be appreciated. Josh Smith

Re: JVM safepoints, mmap, and slow disks

2016-10-10 Thread Josh Snyder
gh knowledge on the read path or about JNI latency to comment on whether this concern is "real" or not. Josh On Sat, Oct 8, 2016 at 5:21 PM, Graham Sanderson wrote: > I haven’t studied the read path that carefully, but there might be a spot at > the C* level rather than JVM level w

Re: JVM safepoints, mmap, and slow disks

2016-10-10 Thread Josh Snyder
l I know how to mitigate (i.e. by policing by my block devices) rather than switching to the devil that is non-standard and undocumented. :) I may have time to do some benchmarking myself. If so, I'll be sure to inform the list. Josh On Sun, Oct 9, 2016 at 2:39 AM, Benedict Elliott Smith

Re: JVM safepoints, mmap, and slow disks

2016-10-10 Thread Josh Snyder
es I've seen just involve something in userspace going through and touching every desired page. It works, especially if you touch pages in parallel. Thanks for the pointers. If I get anywhere with them, I'll be sure to let you know. Josh > On Sat, Oct 8, 2016, at 08:21 PM, Graham Sande

JVM safepoints, mmap, and slow disks

2016-10-07 Thread Josh Snyder
: "don't tolerate block devices that are slow", but I'd appreciate any approach that doesn't require my hardware to be flawless all the time. Josh [1] -XX:+SafepointTimeout -XX:SafepointTimeoutDelay=100 -XX:+PrintSafepointStatistics -XX:PrintSafepointStatisticsCount=1 [2] https://github.com/brendangregg/perf-tools/blob/master/iosnoop

Problems with schema creation

2016-09-19 Thread Josh Smith
. Any help would be appreciated. Josh Smith

RE: C* files getting stuck

2016-06-30 Thread Josh Smith
I have also faced this issue. Rebooting the instance has been our fix so far. I am very interested if anyone else has a solution. I was unable to get a definitive answer from Datastax during the last Cassandra Summit. From: Amit Singh F [mailto:amit.f.si...@ericsson.com] Sent: Thursday, June

Re: [RELEASE] Apache Cassandra 3.1 released

2015-12-10 Thread Josh McKenzie
Kai, > The most stable version will be 3.1 because it includes the critical fixes > in 3.0.1 and some additional bug fixes 3.0.1 and 3.1 are identical. This is a unique overlap specific to 3.0.1 and 3.1. To summarize, the most stable version should be x.Max(2n+1).z. Going forward, you can expe

RE: handling down node cassandra 2.0.15

2015-11-16 Thread Josh Smith
Sis you set the JVM_OPTS to replace address? That is usually the error I get when I forget to set the replace_address on Cassandra-env. JVM_OPTS="$JVM_OPTS -Dcassandra.replace_address=address_of_dead_node From: Anishek Agarwal [mailto:anis...@gmail.com] Sent: Monday, November 16, 2015 9:25 AM T

Re: Cassandra 2.2.1 stuck at 100% on Windows

2015-10-16 Thread Josh McKenzie
One option: use process explorer to find out the TID's of the java process ( instructions ), screen cap that, then also run jstack against the running cassandra process out to a file a few times (instruct

Apache Cassandra 2.2.0-rc1: calling all Windows users

2015-06-09 Thread Josh McKenzie
With the upcoming release of Cassandra-2.2 Windows is finally an officially supported operating system. While many months of JIRA tickets , bug fixes, and contributions have gone into maki

Re: Cassandra 2.1.3, Windows 7 clear snapshot

2015-02-26 Thread Josh McKenzie
This should be fixed in 3.0 by a combination of https://issues.apache.org/jira/browse/CASSANDRA-8709 and https://issues.apache.org/jira/browse/CASSANDRA-4050. The changes in 8709 and 4050 are invasive enough that we didn't want to target them for the 2.1 release and is actually a big part of why w

RE: opscenter with community cassandra

2014-10-28 Thread Josh Smith
Yes Opscenter does work with the opensource version of Cassandra. I am currently running both in the cloud and our private datacenter with no problems. I have not tried 2.1.1 yet but I do not see why it wouldn’t work also. Josh From: Tim Dunphy [mailto:bluethu...@gmail.com] Sent: Tuesday

Windows-aware Cassandra

2014-07-11 Thread Josh McKenzie
With the release of Cassandra 2.1.0-rc3, the Cassandra team would like to open the doors to widespread testing of Cassandra on Windows. As of this release we have most of the platform-specific kinks ironed out and would like to get this into the hands of more developers and users and collect your

Re: Windows uname -o not supported.

2014-07-01 Thread Josh McKenzie
That uname call is in there specifically to check if you're running from cygwin and force a pidfile to be written for stop-server.bat if so; ctrl+c functionality in mintty is inconsistent with its signal trapping across both cygwin and Windows releases. I wrote the PowerShell start-up scripts with

Re: ccm support for Windows

2014-03-14 Thread Josh McKenzie
before moving on to tightening up ccm and then fixing unit tests and dtests. On Fri, Mar 14, 2014 at 2:03 PM, Josh McKenzie wrote: > The windows dtests take another pull request - this one incredibly minor - > to fix some of the odd pathing in Windows. I'll get that in today. > &

Re: ccm support for Windows

2014-03-14 Thread Josh McKenzie
The windows dtests take another pull request - this one incredibly minor - to fix some of the odd pathing in Windows. I'll get that in today. On Fri, Mar 14, 2014 at 1:29 PM, Robert Coli wrote: > On Fri, Mar 14, 2014 at 11:23 AM, Josh McKenzie < > josh.mcken...@datastax.com>

ccm support for Windows

2014-03-14 Thread Josh McKenzie
As of today, ccm supports Windows. It should work in both cygwin and the general command-prompt though there are some known issues right now which are documented in the README. If any Windows users are so inclined to test or tinker I'd be happy to field questions /

Can't write to row key, even at ALL. Tombstones?

2013-12-27 Thread Josh Dzielak
debug this? Is there a way to get Cassandra to log all of the read candidates, including timestamp and host and sstable, before it chooses the one to use? Thanks as always, -Josh

Re: Multi-Column Slice Query w/ Partial Component of Composite Key

2013-12-20 Thread Josh Dzielak
Thanks Nate. I will take a look at extending thrift, seems like this could be useful for some folks. On Friday, December 20, 2013 at 12:29 PM, Nate McCall wrote: > > > > My questions – > > > > 1) Is this supported in the Thrift interface or CQL? > > Not directly, no. > > > 2) If

Multi-Column Slice Query w/ Partial Component of Composite Key

2013-12-20 Thread Josh Dzielak
CQL? 2) If not, is there clever data modeling or indexing that could accomplish this use case? 1 single-row round-trip to get these columns? 3) Is there plans to support this in the future? Generally, what is the future of composite columns in a CQL world? Thanks! Josh

Re: Notes and questions from performing a large delete

2013-12-07 Thread Josh Dzielak
Thanks Nate. I hadn't noticed that and it definitely explains it. It'd be nice to see that called out much more clearly. As we found out the implications can be severe! -Josh On Thursday, December 5, 2013 at 11:30 AM, Nate McCall wrote: > Per the 256mb to 5mb change, check

Notes and questions from performing a large delete

2013-12-04 Thread Josh Dzielak
6, Ubuntu 12. Running on SSD's, 12 node cluster across 2 DCs. No compression, leveled compaction. Happy to provide more details. Thanks in advance for any insights into what happened or any best practices we missed during this episode. Best, Josh

Re: sstable2json hangs for authenticated keyspace?

2013-12-04 Thread Josh Dzielak
Thanks Rob. Bug filed. https://issues.apache.org/jira/browse/CASSANDRA-6450 On Monday, December 2, 2013 at 1:06 PM, Robert Coli wrote: > On Fri, Nov 29, 2013 at 4:11 PM, Josh Dzielak (mailto:j...@keen.io)> wrote: > > Having an issue with sstable2json. It appears to hang w

sstable2json hangs for authenticated keyspace?

2013-11-29 Thread Josh Dzielak
into this? Thanks, Josh

Re: Schema disagreement under normal conditions, ALTER TABLE hangs

2013-11-28 Thread Josh Dzielak
, 2013 at 11:24 AM, Robert Coli wrote: > On Mon, Nov 25, 2013 at 6:42 PM, Josh Dzielak (mailto:j...@keen.io)> wrote: > > Recently we had a strange thing happen. Altering schema (gc_grace_seconds) > > for a column family resulted in a schema disagreement. 3/4 of nodes got it, >

Schema disagreement under normal conditions, ALTER TABLE hangs

2013-11-25 Thread Josh Dzielak
ng to do the ALTER TABLE there resulted in hanging. We were eventually able to get schema agreement by restarting nodes, but both the initial disagreement under normal conditions and the hanging ALTER TABLE seem pretty weird. Any ideas here? Sound like a bug? We're on 1.2.8. Thanks, Jos

Re: Counter value becomes incorrect after several dozen reads & writes

2013-06-24 Thread Josh Dzielak
Hi Arthur, This is actually for a column in a counter column family, i.e. CounterColumnType. Will check out that thread though, thanks. Best, Josh -- Josh Dzielak VP Engineering • Keen IO Twitter • @dzello (https://twitter.com/dzello) Mobile • 773-540-5264 On Monday, June 24, 2013 at

Counter value becomes incorrect after several dozen reads & writes

2013-06-24 Thread Josh Dzielak
2.3 in a 3-node test cluster. It's also happened in development. Has anyone seem something like this? It feels almost too strange to be an actual bug but I'm stumped and have been looking at it too long :) Thanks, Josh -- Josh Dzielak VP Engineering • Keen IO Twitter • @dzel

Re: Guaranteeing globally unique TimeUUID's in a high throughput distributed system

2013-03-16 Thread Josh Dzielak
ith the thread/process uniqueness tricks you mentioned? Thanks Philip! On Saturday, March 16, 2013 at 2:56 PM, Philip O'Toole wrote: > On Sat, Mar 16, 2013 at 2:50 PM, Josh Dzielak (mailto:j...@keen.io)> wrote: > > Thanks Philip. I see where you are coming from; that'

Re: Guaranteeing globally unique TimeUUID's in a high throughput distributed system

2013-03-16 Thread Josh Dzielak
x27;events last Wednesday' I give them the right answer even if the events were recorded in Cassandra today. I think it's at least worth weighing against the other solution. On Saturday, March 16, 2013 at 2:40 PM, Philip O'Toole wrote: > On Sat, Mar 16, 2013 at 2:24 PM, Josh Dzie

Re: Guaranteeing globally unique TimeUUID's in a high throughput distributed system

2013-03-16 Thread Josh Dzielak
blob/master/src/frontend/org/voltdb/iv2/UniqueIdGenerator.java > http://boundary.com/blog/2012/01/12/flake-a-decentralized-k-ordered-unique-id-generator-in-erlang/ > > Regards, > Ariel > > > On Sat, Mar 16, 2013, at 05:24 PM, Josh Dzielak wrote: > > I have a

Guaranteeing globally unique TimeUUID's in a high throughput distributed system

2013-03-16 Thread Josh Dzielak
s, and off-the-wall ideas! PS- I assume this could be a problem in any system (not just Cassandra) where you want to use 'time' as a unique index yet might have multiple records for the same time. So any solutions from other realms could be useful too. -- Josh Dzielak VP Engineering • Keen IO Twitter • @dzello (https://twitter.com/dzello) Mobile • 773-540-5264

Row caching memory usage in Cassandra 1.0.x

2012-10-22 Thread Josh
it further. (currently we have it set to 100,000 rows and we're already seeing ~85% hit rates, so we've stopped upping it further for now). Thanks for any advice, -Josh

Using sstableloader

2012-02-02 Thread Josh Behrends
of nodes either. Josh

Re: Proxy instances?

2010-04-02 Thread Josh
as proxies to the > rest of the cluster, but have no storage themselves? Maybe with a keyspace > length of 0? -- josh @schulz http://schulzone.org