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

Error when creating multiple CQLSSTableWriters for more than one column family in the same keyspace

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Won't Fix
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Severity:
      Low

      Description

      The reason why this occurs is if the keyspace has already been loaded (due to another column family being previously loaded in the same keyspace), CQLSSTableWriter builder only loads the column family via Schema.load(CFMetaData). However, Schema.load(CFMetaData) only adds to the Schema.cfIdMap without making the proper addition to the CFMetaData map belonging to the KSMetaData map.

        Attachments

        1. trunk-7768-v1.txt
          0.7 kB
          Paul Pak

          Issue Links

            Activity

              People

              • Assignee:
                blerer Benjamin Lerer
                Reporter:
                sixpak32577 Paul Pak
                Authors:
                Benjamin Lerer
                Reviewers:
                Benjamin Lerer
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: