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

Caleb Rackliffe updated CASSANDRA-20866:
----------------------------------------
     Bug Category: Parent values: Correctness(12982)Level 1 values: Test 
Failure(12990)
       Complexity: Normal
    Discovered By: Unit Test
    Fix Version/s: 6.x
         Severity: Low
           Status: Open  (was: Triage Needed)

> Add equals/hashCode to RangeTermTree$Term to make sure it plays nicely with 
> IntervalNode construction
> -----------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-20866
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-20866
>             Project: Apache Cassandra
>          Issue Type: Bug
>          Components: Feature/SAI
>            Reporter: Caleb Rackliffe
>            Assignee: Caleb Rackliffe
>            Priority: Normal
>             Fix For: 6.x
>
>
> I've been seeing local test failures in 
> {{{}StorageAttachedIndexDDLTest#shouldCreateIndexFilesAfterMultipleConcurrentIndexCreation(){}}},
>  and it looks like the root cause of this is that {{RangeTermTree$Term}} 
> doesn't implement {{{}equals(){}}}, so the invariant checks in 
> {{IntervalTree$IntervalNode}} aren't reliable.
> {noformat}
> Caused by: java.lang.IllegalStateException: null
> at com.google.common.base.Preconditions.checkState(Preconditions.java:496)
> at 
> org.apache.cassandra.utils.IntervalTree$IntervalNode.<init>(IntervalTree.java:693)
> at org.apache.cassandra.utils.IntervalTree.<init>(IntervalTree.java:97)
> at org.apache.cassandra.utils.IntervalTree.build(IntervalTree.java:186)
> at 
> org.apache.cassandra.index.sai.view.RangeTermTree$Builder.build(RangeTermTree.java:97)
> at org.apache.cassandra.index.sai.view.View.<init>(View.java:59)
> at 
> org.apache.cassandra.index.sai.view.IndexViewManager.update(IndexViewManager.java:107)
> at 
> org.apache.cassandra.index.sai.StorageAttachedIndex.onSSTableChanged(StorageAttachedIndex.java:625)
> at 
> org.apache.cassandra.index.sai.StorageAttachedIndexGroup.onSSTableChanged(StorageAttachedIndexGroup.java:335)
> at 
> org.apache.cassandra.index.sai.StorageAttachedIndexBuilder.completeSSTable(StorageAttachedIndexBuilder.java:313)
> at 
> org.apache.cassandra.index.sai.StorageAttachedIndexBuilder.indexSSTable(StorageAttachedIndexBuilder.java:195)
> at 
> org.apache.cassandra.index.sai.StorageAttachedIndexBuilder.build(StorageAttachedIndexBuilder.java:118)
> at 
> org.apache.cassandra.db.compaction.CompactionManager$13.run(CompactionManager.java:2035)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to