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

when loading schema make sure the key and value are not present in the cfIdMap (BiDiMap)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Cannot Reproduce
    • None
    • None
    • None

    Description

      google bidimap throws an uncaught runtime exception with less than informative information when the cfid already exists in the cfIDMap has it as a value. Add a check to the preflight check of the Schema class instead, so there is better messaging.

      Attachments

        1. better_schema_load_exs.diff
          0.8 kB
          Dave Brosius

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dbrosius@apache.org Dave Brosius
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: