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

Interned column identifiers can be overridden incorrectly

    XMLWordPrintableJSON

Details

    • Normal

    Description

      As discovered by Stefania in CASSANDRA-12423, our use of ColumnIdentifier.internedInstances to map byte buffer column names to column identifiers is incorrect. It's possible for two non-equal ColumnIdentifier instances to have the same ByteBuffer as raw name, and yet different text representations, due to different column name types, leading to hard to debug correctness issues.

      Should either amend the map to have the type as part of the key, or limit the use of that map.

      Attachments

        Issue Links

          Activity

            People

              stefania Stefania Alborghetti
              aleksey Aleksey Yeschenko
              Stefania Alborghetti
              Aleksey Yeschenko
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: