Re: local truncate of hints

2013-11-17 Thread Cyril Scetbon
Thanks I've created JIRA CASSANDRA-6367 for that functionality. Regards. On 17 Nov 2013, at 20:33, Jonathan Ellis wrote: > Right. > On Nov 17, 2013 11:00 AM, "Cyril Scetbon" wrote: > >> and/or a nodetool purgelocalhints command ? >> >> On 15 Nov 2013, at 05:56, Jonathan Ellis wrote: >> >>>

Re: local truncate of hints

2013-11-17 Thread Jonathan Ellis
Right. On Nov 17, 2013 11:00 AM, "Cyril Scetbon" wrote: > and/or a nodetool purgelocalhints command ? > > On 15 Nov 2013, at 05:56, Jonathan Ellis wrote: > > > You're right. You'd want to expose the node-local truncate over JMX. > > > > On Sun, Nov 10, 2013 at 3:48 AM, Cyril Scetbon > wrote: >

Re: local truncate of hints

2013-11-17 Thread Cyril Scetbon
and/or a nodetool purgelocalhints command ? On 15 Nov 2013, at 05:56, Jonathan Ellis wrote: > You're right. You'd want to expose the node-local truncate over JMX. > > On Sun, Nov 10, 2013 at 3:48 AM, Cyril Scetbon wrote: >> Are you really sure of that ? cause Tracing says the opposite when I

Re: local truncate of hints

2013-11-14 Thread Jonathan Ellis
You're right. You'd want to expose the node-local truncate over JMX. On Sun, Nov 10, 2013 at 3:48 AM, Cyril Scetbon wrote: > Are you really sure of that ? cause Tracing says the opposite when I do it on > one node : > > cqlsh:system> TRUNCATE hints ; > > Tracing session: fe0dbc80-49dd-11e3-a3

Re: local truncate of hints

2013-11-14 Thread Boris Yen
I quick glimpse at the code. It seems that truncate only cares about if any node goes down. It does not check the replication strategy. Boris On Thu, Nov 14, 2013 at 9:30 PM, Cyril Scetbon wrote: > anyone ? > > -- > Cyril SCETBON > > On 10 Nov 2013, at 10:48, Cyril Scetbon wrote: > > > Are you

Re: local truncate of hints

2013-11-14 Thread Cyril Scetbon
anyone ? -- Cyril SCETBON On 10 Nov 2013, at 10:48, Cyril Scetbon wrote: > Are you really sure of that ? cause Tracing says the opposite when I do it on > one node : > > cqlsh:system> TRUNCATE hints ; > > Tracing session: fe0dbc80-49dd-11e3-a39b-e367b713537d > > activity

Re: local truncate of hints

2013-11-10 Thread Cyril Scetbon
Are you really sure of that ? cause Tracing says the opposite when I do it on one node : cqlsh:system> TRUNCATE hints ; Tracing session: fe0dbc80-49dd-11e3-a39b-e367b713537d activity | timestamp| source |

Re: local truncate of hints

2013-11-09 Thread Jonathan Ellis
Hints are not replicated (technically: replicated with LocalStrategy), so truncating hints will always only affect the local node. On Sat, Nov 9, 2013 at 3:44 PM, Cyril Scetbon wrote: > Hi, > > I would like to add a feature request for local truncates of hints but I want > to know your opinion b

local truncate of hints

2013-11-09 Thread Cyril Scetbon
Hi, I would like to add a feature request for local truncates of hints but I want to know your opinion before. We faced an issue last week concerning 3 new nodes that where not seen by some other nodes in the ring. a week later we resolved the issues but it was taking days with a high CPU loa