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

Francisco Guerrero commented on CASSANDRA-18317:
------------------------------------------------

4.1 is similar to trunk (not 4.0) so cherry-picked from trunk into 4.1

PR (4.1) : https://github.com/apache/cassandra/pull/2211
CI  (4.1) : https://app.circleci.com/pipelines/github/frankgh/cassandra/121

> Properly synchronize CQLSSTableWriter#build on the Schema.instance
> ------------------------------------------------------------------
>
>                 Key: CASSANDRA-18317
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18317
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tool/bulk load
>            Reporter: Francisco Guerrero
>            Assignee: Francisco Guerrero
>            Priority: Normal
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> The {{CQLSSTableWriter#build}} method should properly synchronize on the 
> {{Schema.instance}} class to prevent concurrent Schema operations fail, [when 
> the offline tool also updates schema].
> For example, a table creation operation, which modifies the keyspaces tables 
> metadata, might end up missing the update when a concurrent call to the 
> {{CQLSSTableWriter#build}} method is accessing the {{Schema}} instance.



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