Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-18317

Properly synchronize CQLSSTableWriter#build on the Schema.instance

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 4.0.12
    • Tool/bulk load
    • None

    Description

      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.

      Attachments

        Activity

          People

            frankgh Francisco Guerrero
            frankgh Francisco Guerrero
            Francisco Guerrero
            Alex Petrov, Maxwell Guo, Yifan Cai
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h 20m
                2h 20m