[ 
https://issues.apache.org/jira/browse/CASSANDRA-8429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14241076#comment-14241076
 ] 

Marcus Eriksson commented on CASSANDRA-8429:
--------------------------------------------

Branch for this here: 
https://github.com/krummas/cassandra/commit/b23b7b3c2e5a800fefd86b0427dcffe3d1c7efb1

Approach is to close the finished files (but keep them as .tmp), make tmplinks 
from those closed files and open sstablereaders over the tmplink files. Then, 
when we actually finish, we rename the tmp files to final files and open 
readers over those.

> Stress on trunk fails mixed workload on missing keys
> ----------------------------------------------------
>
>                 Key: CASSANDRA-8429
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8429
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: Ubuntu 14.04
>            Reporter: Ariel Weisberg
>            Assignee: Marcus Eriksson
>         Attachments: cluster.conf, run_stress.sh
>
>
> Starts as part of merge commit 25be46497a8df46f05ffa102bc645bfd684ea48a
> Stress will say that a key wasn't validated because it isn't returned even 
> though it's loaded. The key will eventually appear and can be queried using 
> cqlsh.
> Reproduce with
> #!/bin/sh
> ROWCOUNT=10000000
> SCHEMA='-col n=fixed(1) -schema 
> compaction(strategy=LeveledCompactionStrategy) compression=LZ4Compressor'
> ./cassandra-stress write n=$ROWCOUNT -node xh61 -pop seq=1..$ROWCOUNT no-wrap 
> -rate threads=25 $SCHEMA
> ./cassandra-stress mixed "ratio(read=2)" n=100000000 -node xh61 -pop 
> "dist=extreme(1..$ROWCOUNT,0.6)" -rate threads=25 $SCHEMA



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

Reply via email to