Re: About Tombstones and TTLs

2016-12-19 Thread Shalom Sagges
Thanks a lot Alain!! This really cleared a lot of things for me. Thanks again! Shalom Sagges DBA T: +972-74-700-4035 We Create Meaningful Connections On Mon, Dec 19, 2016 at

Re: About Tombstones and TTLs

2016-12-19 Thread Alain RODRIGUEZ
>From http://www.uberobert.com/cassandra_gc_grace_disables_hinted_handoff/ This is just a quick FYI post as I don't see this documented on the web > elsewhere. As of now in all versions of Cassandra a gc_grace_seconds setting > of 0 will disable hinted handoff. Basically to avoid an edge case

Re: About Tombstones and TTLs

2016-12-19 Thread Cody Yancey
>> Cassandra stores hints for the lowest of gc_grace_seconds and max_hint_window_in_ms Was this a tough design decision or just a bug? It is certainly very surprising behavior. Everything that I've read leads me to believe that gc_grace_seconds was only intended to affect the treatment of

Re: About Tombstones and TTLs

2016-12-19 Thread Alain RODRIGUEZ
Hi, >- Why setting gc_grace_seconds=0 will disable hints for the table? > > It was the first time I heard about this as well when Alexander told us about that. This read might be helpful http://www.uberobert.com/cassandra_gc_grace_disables_hinted_handoff/. Also Alexander I know tested it.

Re: About Tombstones and TTLs

2016-12-19 Thread Shalom Sagges
Thanks for the explanation Matija, but fortunately, that I know. Forgot to mention that I'm using a multi DC cluster. I'll try to summarize just the questions I have, because my email was indeed quite long :-) - Why setting gc_grace_seconds=0 will disable hints for the table? - How can an

Re: About Tombstones and TTLs

2016-12-19 Thread Matija Gobec
Hi, gc_grace_seconds is used to maintain data consistency in some failure scenarios. When manually deleting data that action creates tombstones which are kept for that defined period before being compacted. If one of the replica nodes is down while deleting data and it gets back up after the

About Tombstones and TTLs

2016-12-19 Thread Shalom Sagges
Hi Everyone, I was reading a blog on TWCS by Alex Dejanovski from The Last Pickle ( http://thelastpickle.com/blog/2016/12/08/TWCS-part1.html) When I got to the comments section, I didn't understand why setting gc_grace_seconds to 0 will disable hints for the associated table: *"It is a very good