frankgh opened a new pull request, #2675: URL: https://github.com/apache/cassandra/pull/2675
…hema.instance object In this commit the `org.apache.cassandra.io.sstable.CQLSSTableWriter#build` method synchronizes on the `Schema.instance` object (instead of the `CQLSSTableWriter.class`) to prevent concurrent schema operations to fail when the offline tool also updates the 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 singleton Schema instance. In 5.0, the synchronization on Schema.instance is no longer needed. This is only an issue in the 4.0 branch [CASSANDRA-18317](https://issues.apache.org/jira/browse/CASSANDRA-18317) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

