You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ariel Weisberg (JIRA)" <ji...@apache.org> on 2015/06/04 20:51:38 UTC

[jira] [Commented] (CASSANDRA-9523) RangeTombstoneTest.testOverwritesToDeletedColumns failed in 2.2

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

Ariel Weisberg commented on CASSANDRA-9523:
-------------------------------------------

I can reproduce this on my quad-core. The way I am reproducing stuff now is to run "ant test-all -k -Dtest.runners=3" in the background in a loop and then run the test I am trying to have fail in a loop.

In this case there end up being two rows in the index when one is expected. I was able to get a stack trace of the thread that is inserting the second row. Looks like compaction is doing something that results in the index being touched a second time, possibly with a redundant update that is actually OK? I will have to get more context to find out.

{noformat}
Daemon Thread [CompactionExecutor:1] (Suspended)	
	Thread.sleep(long) line: not available [native method]	
	RangeTombstoneTest$TestIndex.insert(ByteBuffer, Cell, OpOrder$Group) line: 705	
	SecondaryIndexManager.indexRow(ByteBuffer, ColumnFamily, OpOrder$Group) line: 454	
	Keyspace.indexRow(DecoratedKey, ColumnFamilyStore, Set<String>) line: 433	
	SecondaryIndexBuilder.build() line: 67	
	CompactionManager$11.run() line: 1288	
	Executors$RunnableAdapter<T>.call() line: 511	
	FutureTask<V>.run() line: 266	
	CompactionManager$CompactionExecutor(ThreadPoolExecutor).runWorker(ThreadPoolExecutor$Worker) line: 1142	
	ThreadPoolExecutor$Worker.run() line: 617	
	Thread.run() line: 745	
{noformat}

The main test thread is at
{noformat}
Thread [main] (Suspended)	
	Unsafe.park(boolean, long) line: not available [native method]	
	LockSupport.park(Object) line: 175	
	ListenableFutureTask<V>(FutureTask<V>).awaitDone(boolean, long) line: 429	
	ListenableFutureTask<V>(FutureTask<V>).get() line: 191	
	FBUtilities.waitOnFuture(Future<T>) line: 385	
	ColumnFamilyStore.forceBlockingFlush() line: 958	
	RangeTombstoneTest.runCompactionWithRangeTombstoneAndCheckSecondaryIndex() line: 635	
	RangeTombstoneTest.testRowWithRangeTombstonesUpdatesSecondaryIndex() line: 505	
	NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]	
	NativeMethodAccessorImpl.invoke(Object, Object[]) line: 62	
	DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 43	
	Method.invoke(Object, Object...) line: 483	
	FrameworkMethod$1.runReflectiveCall() line: 44	
	FrameworkMethod$1(ReflectiveCallable).run() line: 15	
	FrameworkMethod.invokeExplosively(Object, Object...) line: 41	
	InvokeMethod.evaluate() line: 20	
	RunBefores.evaluate() line: 28	
	RunAfters.evaluate() line: 31	
	BlockJUnit4ClassRunner.runChild(FrameworkMethod, RunNotifier) line: 70	
	BlockJUnit4ClassRunner.runChild(Object, RunNotifier) line: 44	
	BlockJUnit4ClassRunner(ParentRunner<T>).runChildren(RunNotifier) line: 180	
	ParentRunner<T>.access$000(ParentRunner, RunNotifier) line: 41	
	ParentRunner$1.evaluate() line: 173	
	RunBefores.evaluate() line: 28	
	RunAfters.evaluate() line: 31	
	BlockJUnit4ClassRunner(ParentRunner<T>).run(RunNotifier) line: 220	
	JUnit4TestAdapter.run(TestResult) line: 39	
	JUnitTestRunner.run() line: 532	
	JUnitTestRunner.launch(JUnitTest, String[], boolean, boolean, boolean, boolean, boolean, boolean) line: 1179	
	JUnitTestRunner.main(String[]) line: 1030	
{noformat}

> RangeTombstoneTest.testOverwritesToDeletedColumns failed in 2.2
> ---------------------------------------------------------------
>
>                 Key: CASSANDRA-9523
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9523
>             Project: Cassandra
>          Issue Type: Test
>          Components: Tests
>            Reporter: Michael Shuler
>              Labels: test-failure
>             Fix For: 2.2.x
>
>
> {{expected:<1> but was:<2>}}
> http://cassci.datastax.com/job/cassandra-2.2_utest/56/testReport/org.apache.cassandra.db/RangeTombstoneTest/testOverwritesToDeletedColumns/



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