cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sharvanath Pathak (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-12703) Compaction does not purge tombstones when only_purge_repaired_tombstones is set
Date Sat, 24 Sep 2016 18:37:20 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-12703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sharvanath Pathak updated CASSANDRA-12703:
------------------------------------------
    Description: 
It's very easy to reproduce. Just perform a few deletes and you will see that compaction is
not purging the tombstones at all if the only_purge_repaired_tombstones option is set. There
is a bug in the patch for CASSANDRA-6434. The corresponding unit test (RepairedDataTombstonesTest)
is also weak in that it does not catch the bug. Attached is a patch which fixes the bug and
the unit test.

https://github.com/sharvanath/cassandra/commit/095680ed7ac4cfa8a870a69b1ae7c4317fec3bfa

http://cassci.datastax.com/view/Dev/view/sharvanath/job/sharvanath-fixCompact-dtest/
http://cassci.datastax.com/view/Dev/view/sharvanath/job/sharvanath-fixCompact-testall/

  was:
It's very easy to reproduce. Just perform a few deletes and you will see that compaction is
not purging the tombstones at all if the only_purge_repaired_tombstones option is set. There
is a bug in the patch for CASSANDRA-6434. The corresponding unit test (RepairedDataTombstonesTest)
is also weak in that it does not catch the bug. Attached is a patch which fixes the bug and
the unit test.

https://github.com/sharvanath/cassandra/commit/095680ed7ac4cfa8a870a69b1ae7c4317fec3bfa


> Compaction does not purge tombstones when only_purge_repaired_tombstones is set
> -------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-12703
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12703
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Compaction
>            Reporter: Sharvanath Pathak
>             Fix For: 3.0.x, 3.x
>
>
> It's very easy to reproduce. Just perform a few deletes and you will see that compaction
is not purging the tombstones at all if the only_purge_repaired_tombstones option is set.
There is a bug in the patch for CASSANDRA-6434. The corresponding unit test (RepairedDataTombstonesTest)
is also weak in that it does not catch the bug. Attached is a patch which fixes the bug and
the unit test.
> https://github.com/sharvanath/cassandra/commit/095680ed7ac4cfa8a870a69b1ae7c4317fec3bfa
> http://cassci.datastax.com/view/Dev/view/sharvanath/job/sharvanath-fixCompact-dtest/
> http://cassci.datastax.com/view/Dev/view/sharvanath/job/sharvanath-fixCompact-testall/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message