frankgh opened a new pull request, #2207:
URL: https://github.com/apache/cassandra/pull/2207
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 tools also updates the schema.
For example, a table creation operation, which modifies the keyspace tables
metadata, might end up
missing the update when a concurrent call to the `CQLSSTableWriter#build`
method is accessing the
singleton Schema instance.
[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]