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

exception generate when using same index names

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Fix Version/s: 0.8.1
    • Component/s: None
    • Labels:

      Description

      when using cqlsh tool to generate indexes, for example, suppose we have a column family Tuser, which has two columns: name and state.
      cqlsh> create index name_key on Tuser(name);
      cqlsh> create index name_key on Tuser(state);
      note that name_key is used twice by mistake, then a javax.management.InstanceAlreadyExistsException will be thrown and this exception will prevent cassandra service from starting any more.

        Attachments

        1. 2730.txt
          6 kB
          Jonathan Ellis

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              wubn2000 BAONING WU
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: