[
https://issues.apache.org/jira/browse/CASSANDRA-21471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18089970#comment-18089970
]
Dmitry Konstantinov edited comment on CASSANDRA-21471 at 6/18/26 4:51 PM:
--------------------------------------------------------------------------
It seems QueriesTable mechanism was not designed to handle
SEPExecutor.maybeExecuteImmediately scenario:
* tasks are set only within SEP Worker task assign
* we cannot have more than 1 task assigned to the same thread at the same time
(in case of executeImmediately we have coordinator task and local replica task
using the same thread)
So, the test have started to fail once we began to use executeImmediately more
frequently (after CASSANDRA-21429 fix).
was (Author: dnk):
It seems QueriesTable mechanism was not designed to handle
SEPExecutor.maybeExecuteImmediately scenario:
* tasks are set only within SEP Worker task assign
* we cannot have more than 1 task assigned to the same thread at the same time
So, the test have started to fail once we began to use executeImmediately more
frequently (after CASSANDRA-21429 fix).
> Test failure: org.apache.cassandra.distributed.test.QueriesTableTest
> --------------------------------------------------------------------
>
> Key: CASSANDRA-21471
> URL: https://issues.apache.org/jira/browse/CASSANDRA-21471
> Project: Apache Cassandra
> Issue Type: Bug
> Components: Local/Other
> Reporter: Dmitry Konstantinov
> Priority: Normal
> Fix For: 6.x, 7.x
>
> Attachments: image-2026-06-18-17-41-01-479.png
>
>
> https://pre-ci.cassandra.apache.org/job/cassandra/609/
> !image-2026-06-18-17-41-01-479.png|width=600!
> Tests / jvm-dtest jdk11 3/16 /
> org.apache.cassandra.distributed.test.QueriesTableTest.shouldExposeCAS-_jdk11_x86_64
> Tests / jvm-dtest jdk17 3/16 /
> org.apache.cassandra.distributed.test.QueriesTableTest.shouldExposeCAS-_jdk17_x86_64
> Tests / jvm-dtest jdk21 3/16 /
> org.apache.cassandra.distributed.test.QueriesTableTest.shouldExposeCAS-_jdk21_x86_64
> Tests / jvm-dtest jdk11 3/16 /
> org.apache.cassandra.distributed.test.QueriesTableTest.shouldExposeReadsAndWrites-_jdk11_x86_64
> Tests / jvm-dtest jdk17 3/16 /
> org.apache.cassandra.distributed.test.QueriesTableTest.shouldExposeReadsAndWrites-_jdk17_x86_64
> Tests / jvm-dtest jdk21 3/16 /
> org.apache.cassandra.distributed.test.QueriesTableTest.shouldExposeReadsAndWrites-_jdk21_x86_64
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]