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

Stefan Miklosovic commented on CASSANDRA-18211:
-----------------------------------------------

trunk build 
https://ci-cassandra.apache.org/view/patches/job/Cassandra-devbranch/2273/
trunk circle 
https://app.circleci.com/pipelines/github/instaclustr/cassandra/1888/workflows/44ba4736-a631-4ee9-ae6c-a0f3f43ed648

4.1 build 
https://app.circleci.com/pipelines/github/instaclustr/cassandra/1885/workflows/3e203d5b-293e-478a-bffb-904e296eee58

multiplexer was run intensively on 4.1, I think like 2000x.

https://app.circleci.com/pipelines/github/instaclustr/cassandra/1884/workflows/d81401aa-441a-4d00-af09-0ec1e7a2110e
https://app.circleci.com/pipelines/github/instaclustr/cassandra/1884/workflows/79935cb7-c8a5-48bb-b244-f7ae4e09d032
https://app.circleci.com/pipelines/github/instaclustr/cassandra/1884/workflows/341a6db9-918f-4725-af96-23bd53d7fd4a

PR 4.1 https://github.com/apache/cassandra/pull/2149
PR trunk https://github.com/apache/cassandra/pull/2157



> Possible race between automatic and manual snapshot cleanup
> -----------------------------------------------------------
>
>                 Key: CASSANDRA-18211
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18211
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Local/Snapshots
>            Reporter: Jacek Lewandowski
>            Assignee: Stefan Miklosovic
>            Priority: Normal
>             Fix For: 4.1.x, 4.x
>
>
> Automatic deletion of expired snapshots maintained by {{SnapshotManager}} can 
> race with manual snapshot removal in a way an exception like 
> {{NoSuchFileException}} is thrown. 
> It is because the snapshot directory existence is checked and deleted if it 
> exists as a non-atomic operation. Since we can potentially have two threads 
> attempting to do that at the same time (automatic and manual snapshot 
> removal) it may lead to a race in rare situations.



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