[jira] [Updated] (CASSANDRA-8669) simple_repair test failing on 2.1

2015-04-07 Thread Yuki Morishita (JIRA)

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

Yuki Morishita updated CASSANDRA-8669:
--
Reviewer: Yuki Morishita
Assignee: Benedict  (was: Yuki Morishita)

+1 with nit on code format here 
(https://github.com/belliottsmith/cassandra/blob/720bf3cc0668341fdaeecbf89b0371c0dbcb048a/src/java/org/apache/cassandra/db/ColumnFamilyStore.java#L2939-2941).
I ran compaction and repair related dtests against your branch and it all went 
well.

 simple_repair test failing on 2.1
 -

 Key: CASSANDRA-8669
 URL: https://issues.apache.org/jira/browse/CASSANDRA-8669
 Project: Cassandra
  Issue Type: Bug
Reporter: Philip Thompson
Assignee: Benedict
 Fix For: 2.1.5

 Attachments: 8669-debug.txt, debug-result.txt


 The dtest simple_repair_test began failing on 12/22 on 2.1 and trunk. The 
 test fails intermittently both locally and on cassci. 
 The test is here: 
 https://github.com/riptano/cassandra-dtest/blob/master/repair_test.py#L32
 The output is here: 
 http://cassci.datastax.com/job/cassandra-2.1_dtest/661/testReport/repair_test/TestRepair/simple_repair_test/



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


[jira] [Updated] (CASSANDRA-8669) simple_repair test failing on 2.1

2015-04-05 Thread Yuki Morishita (JIRA)

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

Yuki Morishita updated CASSANDRA-8669:
--
Attachment: debug-result.txt
8669-debug.txt

Here is what I found so far.
I added debug logging around snapshot (attached patch 8669-debug.txt) to the 
latest cassandra-2.1, ran {{repair_test.py}}'s 
{{simple_sequential_repair_test}} and found that when snapshot happens at 
certain point of compaction, only tmplink file shows up as snapshot candidate. 
And since [we are filtering open early 
files|https://github.com/apache/cassandra/blob/cassandra-2.1.4/src/java/org/apache/cassandra/db/ColumnFamilyStore.java#L2223],
 end up with empty snapshot directory.

Relevant debug log is (debug-result.txt):

{code}
DEBUG [CompactionExecutor:1] 2015-04-05 17:55:24,469 CompactionManager.java:226 
- Checking ks.cf
DEBUG [CompactionExecutor:1] 2015-04-05 17:55:24,469 
SizeTieredCompactionStrategy.java:88 - Compaction buckets are 
[[SSTableReader(path='/tmp/dtest-9cJ7bi/test/node3/data/ks/cf-898085e0dbe611e4a66151a3c6e97c77/ks-cf-ka-4-Data.db'),
 
SSTableReader(path='/tmp/dtest-9cJ7bi/test/node3/data/ks/cf-898085e0dbe611e4a66151a3c6e97c77/ks-cf-ka-3-Data.db'),
 
SSTableReader(path='/tmp/dtest-9cJ7bi/test/node3/data/ks/cf-898085e0dbe611e4a66151a3c6e97c77/ks-cf-ka-1-Data.db'),
 
SSTableReader(path='/tmp/dtest-9cJ7bi/test/node3/data/ks/cf-898085e0dbe611e4a66151a3c6e97c77/ks-cf-ka-2-Data.db')]]
INFO  [CompactionExecutor:1] 2015-04-05 17:55:24,472 ColumnFamilyStore.java:882 
- Enqueuing flush of compactions_in_progress: 1304 (0%) on-heap, 0 (0%) off-heap
DEBUG [CompactionExecutor:1] 2015-04-05 17:55:24,472 ColumnFamilyStore.java:212 
- scheduling flush in 360 ms
INFO  [CompactionExecutor:1] 2015-04-05 17:55:24,477 CompactionTask.java:140 - 
Compacting 
[SSTableReader(path='/tmp/dtest-9cJ7bi/test/node3/data/ks/cf-898085e0dbe611e4a66151a3c6e97c77/ks-cf-ka-1-Data.db'),
 
SSTableReader(path='/tmp/dtest-9cJ7bi/test/node3/data/ks/cf-898085e0dbe611e4a66151a3c6e97c77/ks-cf-ka-3-Data.db'),
 
SSTableReader(path='/tmp/dtest-9cJ7bi/test/node3/data/ks/cf-898085e0dbe611e4a66151a3c6e97c77/ks-cf-ka-2-Data.db'),
 
SSTableReader(path='/tmp/dtest-9cJ7bi/test/node3/data/ks/cf-898085e0dbe611e4a66151a3c6e97c77/ks-cf-ka-4-Data.db')]
DEBUG [CompactionExecutor:1] 2015-04-05 17:55:24,477 
ColumnFamilyStore.java:1287 - Checking for sstables overlapping 
[SSTableReader(path='/tmp/dtest-9cJ7bi/test/node3/data/ks/cf-898085e0dbe611e4a66151a3c6e97c77/ks-cf-ka-1-Data.db'),
 
SSTableReader(path='/tmp/dtest-9cJ7bi/test/node3/data/ks/cf-898085e0dbe611e4a66151a3c6e97c77/ks-cf-ka-3-Data.db'),
 
SSTableReader(path='/tmp/dtest-9cJ7bi/test/node3/data/ks/cf-898085e0dbe611e4a66151a3c6e97c77/ks-cf-ka-2-Data.db'),
 
SSTableReader(path='/tmp/dtest-9cJ7bi/test/node3/data/ks/cf-898085e0dbe611e4a66151a3c6e97c77/ks-cf-ka-4-Data.db')]
DEBUG [CompactionExecutor:1] 2015-04-05 17:55:24,477 
CompactionController.java:113 - Checking droppable sstables in 
CFS(Keyspace='ks', ColumnFamily='cf')
DEBUG [CompactionExecutor:1] 2015-04-05 17:55:24,482 CompactionTask.java:154 - 
Expected bloom filter size : 2001

DEBUG [MemtablePostFlush:1] 2015-04-05 17:55:24,776 ColumnFamilyStore.java:921 
- forceFlush requested but everything is clean in cf
DEBUG [AntiEntropyStage:1] 2015-04-05 17:55:24,776 ColumnFamilyStore.java:2231 
- Snapshotting 1 sstables
DEBUG [AntiEntropyStage:1] 2015-04-05 17:55:24,776 ColumnFamilyStore.java:2236 
- skipped snapshotting 
SSTableReader(path='/tmp/dtest-9cJ7bi/test/node3/data/ks/cf-898085e0dbe611e4a66151a3c6e97c77/ks-cf-tmplink-ka-5-Data.db')
 (openReason EARLY)
DEBUG [AntiEntropyStage:1] 2015-04-05 17:55:24,776 
RepairMessageVerbHandler.java:94 - Enqueuing response to snapshot request 
d869f060-dbe6-11e4-9f47-51a3c6e97c77 to /127.0.0.1

DEBUG [CompactionExecutor:1] 2015-04-05 17:55:24,780 FileUtils.java:161 - 
Renaming 
/tmp/dtest-9cJ7bi/test/node3/data/ks/cf-898085e0dbe611e4a66151a3c6e97c77/ks-cf-tmp-ka-5-Statistics.db
 to 
/tmp/dtest-9cJ7bi/test/node3/data/ks/cf-898085e0dbe611e4a66151a3c6e97c77/ks-cf-ka-5-Statistics.db
DEBUG [CompactionExecutor:1] 2015-04-05 17:55:24,780 FileUtils.java:161 - 
Renaming 
/tmp/dtest-9cJ7bi/test/node3/data/ks/cf-898085e0dbe611e4a66151a3c6e97c77/ks-cf-tmp-ka-5-TOC.txt
 to 
/tmp/dtest-9cJ7bi/test/node3/data/ks/cf-898085e0dbe611e4a66151a3c6e97c77/ks-cf-ka-5-TOC.txt
DEBUG [CompactionExecutor:1] 2015-04-05 17:55:24,780 FileUtils.java:161 - 
Renaming 
/tmp/dtest-9cJ7bi/test/node3/data/ks/cf-898085e0dbe611e4a66151a3c6e97c77/ks-cf-tmp-ka-5-Index.db
 to 
/tmp/dtest-9cJ7bi/test/node3/data/ks/cf-898085e0dbe611e4a66151a3c6e97c77/ks-cf-ka-5-Index.db
DEBUG [CompactionExecutor:1] 2015-04-05 17:55:24,781 FileUtils.java:161 - 
Renaming 
/tmp/dtest-9cJ7bi/test/node3/data/ks/cf-898085e0dbe611e4a66151a3c6e97c77/ks-cf-tmp-ka-5-Filter.db
 to 

[jira] [Updated] (CASSANDRA-8669) simple_repair test failing on 2.1

2015-02-17 Thread Philip Thompson (JIRA)

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

Philip Thompson updated CASSANDRA-8669:
---
Fix Version/s: (was: 2.1.3)
   2.1.4

 simple_repair test failing on 2.1
 -

 Key: CASSANDRA-8669
 URL: https://issues.apache.org/jira/browse/CASSANDRA-8669
 Project: Cassandra
  Issue Type: Bug
Reporter: Philip Thompson
Assignee: Yuki Morishita
 Fix For: 2.1.4


 The dtest simple_repair_test began failing on 12/22 on 2.1 and trunk. The 
 test fails intermittently both locally and on cassci. 
 The test is here: 
 https://github.com/riptano/cassandra-dtest/blob/master/repair_test.py#L32
 The output is here: 
 http://cassci.datastax.com/job/cassandra-2.1_dtest/661/testReport/repair_test/TestRepair/simple_repair_test/



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