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

David Capwell commented on CASSANDRA-20788:
-------------------------------------------

||Repo||Branch||Parent Branch||SHA||Status||
|https://github.com/dcapwell/cassandra.git|commit_remote_branch/CASSANDRA-20788-trunk-CC8AF895-948F-4D15-AAB5-0AD24600091E|trunk|6cbdb30381ff5500ef94a410beaf5eeabce44250|Unstable

Failed Builds:
||Build||Result||Reason||
| checkstyle                  | fail |                                          
                                                            |
| dependency_check            | fail | Found 1 vulnerable dependencies          
                                                            |
| jvm-dtest-simulator         | fail | Test 
org.apache.cassandra.simulator.test.AccordHarrySimulationTest::test-cassandra.testtag_IS_UNDEFI
 |
| jvm11-dtests                | fail | Error parsing 
jvm11-dtests/unitTestReports/TESTS-TestSuites.xml 'message'                     
       |
| jvm11-utests                | fail | Test 
org.apache.cassandra.db.virtual.AccordDebugKeyspaceTest::patchJournalVestigialTest-_jdk11
 faile |
| jvm17-dtests                | fail | Test 
org.apache.cassandra.distributed.test.NetstatsBootstrapWithEntireSSTablesCompressionStreamingTe
 |
| jvm17-dtests-fuzz           | fail | Test 
org.apache.cassandra.fuzz.sai.MultiNodeSAITest::mappertimedout had an 
error,Test org.apache.cas |
| jvm17-utests                | fail | Test 
org.apache.cassandra.db.virtual.AccordDebugKeyspaceTest::patchJournalVestigialTest-_jdk17
 faile |
| python-upgrade-dtests-large | fail | Test 
upgrade_tests.upgrade_through_versions_test.TestUpgrade_current_4_0_x_To_indev_trunk::upgrade_t
 |


> When using BEGIN TRANSACTION if a complex mutation exists in the same 
> statement as one that uses a reference, then the complex delete is dropped
> ------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-20788
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-20788
>             Project: Apache Cassandra
>          Issue Type: Bug
>          Components: Accord
>            Reporter: David Capwell
>            Assignee: David Capwell
>            Priority: Normal
>             Fix For: 6.x
>
>         Attachments: 
> ci_summary-trunk-6cbdb30381ff5500ef94a410beaf5eeabce44250.html, 
> result_details-trunk-6cbdb30381ff5500ef94a410beaf5eeabce44250.tar.gz
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {code}
> BEGIN TRANSACTION
>   LET row = (SELECT *
>              FROM distributed_test_keyspace.accordtbl0
>              WHERE k = ? AND c = ?);
>   UPDATE distributed_test_keyspace.accordtbl0
>   SET
>     v0={1},
>     v1 += row.v1
>   WHERE 
>     k = ? AND 
>     c = ?;
> COMMIT TRANSACTION
> {code}
> You would expect that v0={1} after this runs, but assuming it was {0} before 
> hand the output is {0, 1}.  The reason is that the complex delete gets lost



--
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