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

StorageProxy#cas() doesn't order columns names correctly when querying

    XMLWordPrintableJSON

Details

    • Normal

    Description

      When querying columns for CAS, we build the SortedSet with:

      new NamesQueryFilter(ImmutableSortedSet.copyOf(expected.getColumnNames())
      

      but ImmutableSortedSet.copyOf() uses the natural order of keys unless a comparator is given, which is not what we want.

      Attachments

        1. 5788.txt
          1 kB
          Sylvain Lebresne

        Activity

          People

            slebresne Sylvain Lebresne
            slebresne Sylvain Lebresne
            Sylvain Lebresne
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: