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

Carl Yeksigian updated CASSANDRA-11575:
---------------------------------------
    Attachment: 11575.tgz

I've attached a simple CDC daemon for running testing outside of Cassandra.

To run it:
- Specify the Cassandra cdc_raw directory: 
{{-Dcassandra.cdc_raw=/etc/cassandra/data/cdc_raw}}
- Specify the Cassandra commitlog directory: 
{{-Dcassandra.commitlog=/etc/cassandra/data/commitlog}}
- Local Cassandra running to pull the schema from

Dependency is on a 3.8-SNAPSHOT cassandra, so running {{ant publish}} in the 
cassandra directory will put the necessary jars into Maven.

> Add out-of-process testing for CDC
> ----------------------------------
>
>                 Key: CASSANDRA-11575
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11575
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: Coordination, Local Write-Read Paths
>            Reporter: Carl Yeksigian
>            Assignee: Carl Yeksigian
>             Fix For: 3.x
>
>         Attachments: 11575.tgz
>
>
> There are currently no dtests for the new cdc feature. We should have some, 
> at least to ensure that the cdc files have a lifecycle that makes sense, and 
> make sure that things like a continually cleaning daemon and a lazy daemon 
> have the properties we expect; for this, we don't need to actually process 
> the files, but make sure they fit the characteristics we expect from them. A 
> more complex daemon would need to be written in Java.
> I already hit a problem where if the cdc is over capacity, the cdc properly 
> throws the WTE, but it will not reset after the overflow directory is 
> undersize again. It is supposed to correct the size within 250ms and allow 
> more writes.



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

Reply via email to