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

Mike Adamson edited comment on CASSANDRA-19032 at 11/27/23 2:33 PM:
--------------------------------------------------------------------

The patches and CI for this ticket are here:
| 
[5.0|https://github.com/apache/cassandra/pull/2932]|[j11|https://app.circleci.com/pipelines/github/mike-tr-adamson/cassandra/404/workflows/bae70e8f-7435-48d0-8651-8f03db19fa7d]|[j17|https://app.circleci.com/pipelines/github/mike-tr-adamson/cassandra/404/workflows/5fdb25e1-6c63-4e53-9266-0b47703d4855]|
|[trunk|https://github.com/apache/cassandra/pull/2932]|[j11|https://app.circleci.com/pipelines/github/mike-tr-adamson/cassandra/405/workflows/bfb8801c-f432-47f5-9a6c-a810f1cbe67c]|[j17|https://app.circleci.com/pipelines/github/mike-tr-adamson/cassandra/405/workflows/556278d4-19e8-4f79-841c-bb5bbc728cbf]|
The patch provides a truncate task for SAI that marks the index as queryable. 
There was a window of opportunity if the initial index build and table truncate 
operations were triggered concurrently where the index build was interrupted. 
This meant that index wasn't marking itself as queryable. 



was (Author: mike_tr_adamson):
The patches and CI for this ticket are here:
| 
[5.0|https://github.com/apache/cassandra/pull/2932]|[j11|https://app.circleci.com/pipelines/github/mike-tr-adamson/cassandra/404/workflows/bae70e8f-7435-48d0-8651-8f03db19fa7d]|[j17|https://app.circleci.com/pipelines/github/mike-tr-adamson/cassandra/404/workflows/5fdb25e1-6c63-4e53-9266-0b47703d4855]|
|[trunk|https://github.com/apache/cassandra/pull/2932]|[j11|https://app.circleci.com/pipelines/github/mike-tr-adamson/cassandra/405/workflows/bfb8801c-f432-47f5-9a6c-a810f1cbe67c]|[j17|https://app.circleci.com/pipelines/github/mike-tr-adamson/cassandra/405/workflows/556278d4-19e8-4f79-841c-bb5bbc728cbf]|


> StorageAttachedIndexDDLTest.concurrentTruncateWithIndexBuilding is flakey
> -------------------------------------------------------------------------
>
>                 Key: CASSANDRA-19032
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19032
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Feature/SAI
>            Reporter: Mike Adamson
>            Assignee: Mike Adamson
>            Priority: Normal
>             Fix For: 5.0-rc
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The StorageAttachedIndexDDLTest.concurrentTruncateWithIndexBuilding has been 
> showing flakiness in test runs and need investigating and fixing. Looking at 
> the failure is seems that there is an edge condition where the index will 
> fail to complete its build if a table truncate is triggered at the right 
> moment.
> We need to try and provoke this edge condition using injection and then see 
> what can be done to fix the build failure.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to