Details
-
Bug
-
Status: Resolved
-
Low
-
Resolution: Cannot Reproduce
-
None
-
None
-
Low
Description
The method SecondaryIndex#removeColumnDef does not delete the requested column definition. I think this may be due to the iterator's remove method:
void removeColumnDef(ByteBuffer name) { Iterator<ColumnDefinition> it = columnDefs.iterator(); while (it.hasNext()) { if (it.next().name.bytes.equals(name)) it.remove(); } }
For me it has been problematic when deleting a per row index in a column family and then creating a new one.
I attach a patch that may solve the problem.