You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "David Capwell (Jira)" <ji...@apache.org> on 2024/11/12 19:57:00 UTC

[jira] [Commented] (CASSANDRA-20065) Accord's ConfigService lock is held over large areas which cause deadlocks and performance issues

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

David Capwell commented on CASSANDRA-20065:
-------------------------------------------

||Repo||Branch||Parent Branch||SHA||Status||
|https://github.com/dcapwell/cassandra.git|CASSANDRA-20065|trunk|e782e155f909efcec91541bd68f03ec2bc234f1b|Unstable

Failed Builds:
||Build||Result||Reason||
| dependency_check    | fail | Found 1 vulnerable dependencies                                                                      |
| jvm-dtest-simulator | fail | Test org.apache.cassandra.simulator.test.ShortAccordSimulationTest::simulationTest-_jdk11 had an err |
| jvm-upgrade-dtests  | fail | Test org.apache.cassandra.distributed.upgrade.MixedModeFrom3LoggedBatchTest::testSimpleStrategy-_jdk |
| jvm11-dtests        | fail | Test junit.framework.TestSuite::org.apache.cassandra.distributed.test.FailingRepairTest-_jdk11 had a |
| jvm11-dtests-fuzz   | fail | Test org.apache.cassandra.fuzz.ring.ConsistentBootstrapTest::coordinatorIsBehindTest-_jdk11 had an e |
| jvm11-utests        | fail | Test org.apache.cassandra.cql3.RandomSchemaV2Test::test-_jdk11 failed,Test org.apache.cassandra.io.u |
| jvm11-utests-long   | fail | Test org.apache.cassandra.cql3.ViewLongTest::testExpiredLivenessInfoWithDefaultTTLWithFlush[0]-_jdk1 |
| jvm17-dtests        | fail | Test junit.framework.TestSuite::org.apache.cassandra.distributed.test.FailingRepairTest-_jdk17 had a |
| jvm17-dtests-fuzz   | fail | Test org.apache.cassandra.fuzz.topology.AccordTopologyMixupTest::test-_jdk17 failed,Test org.apache. |
| jvm17-utests        | fail | Test org.apache.cassandra.cql3.RandomSchemaV2Test::test-_jdk17 failed,Test org.apache.cassandra.db.c |
| python-dtests       | fail | Test cqlsh_tests.test_cqlsh.TestCqlsh::cqlsh_tests.py::test_cqlsh::test_describe failed,Test bootstr |


> Accord's ConfigService lock is held over large areas which cause deadlocks and performance issues
> -------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-20065
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-20065
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Accord
>            Reporter: David Capwell
>            Assignee: David Capwell
>            Priority: Normal
>             Fix For: 5.x
>
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> Accord has a AbstractConfigurationService that locks on “this” and does this over large ares, even when the lock is not needed.  This has been found to cause issues as messaging gets blocked on this causing timeouts.
> To better improve things, we should lower the locking to what is needed and avoid locking while triggering callbacks



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

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