mirror of https://github.com/apache/cassandra
Fix potential ClassCastException in HintedHandoffManager
patch by slebresne; reviewed by benedict for CASSANDRA-7284
This commit is contained in:
parent
0fdf2ddbf0
commit
6127f85670
|
|
@ -20,6 +20,7 @@
|
|||
* Add validate method to CollectionType (CASSANDRA-7208)
|
||||
* New serialization format for UDT values (CASSANDRA-7209, CASSANDRA-7261)
|
||||
* Fix nodetool netstats (CASSANDRA-7270)
|
||||
* Fix potential ClassCastException in HintedHandoffManager (CASSANDRA-7284)
|
||||
Merged from 2.0:
|
||||
* Always reallocate buffers in HSHA (CASSANDRA-6285)
|
||||
* (Hadoop) support authentication in CqlRecordReader (CASSANDRA-7221)
|
||||
|
|
|
|||
|
|
@ -264,7 +264,7 @@ public class HintedHandOffManager implements HintedHandOffManagerMBean
|
|||
{
|
||||
// done if no hints found or the start column (same as last column processed in previous iteration) is the only one
|
||||
return hintColumnFamily == null
|
||||
|| (hintColumnFamily.getSortedColumns().size() == 1 && hintColumnFamily.getColumn((CellName)startColumn) != null);
|
||||
|| (!startColumn.isEmpty() && hintColumnFamily.getSortedColumns().size() == 1 && hintColumnFamily.getColumn((CellName)startColumn) != null);
|
||||
}
|
||||
|
||||
private int waitForSchemaAgreement(InetAddress endpoint) throws TimeoutException
|
||||
|
|
|
|||
Loading…
Reference in New Issue