mirror of https://github.com/apache/cassandra
Merge branch 'cassandra-4.0' into cassandra-4.1
This commit is contained in:
commit
867c074dda
|
|
@ -3,6 +3,7 @@ Merged from 4.0:
|
|||
* Fix Down nodes counter in nodetool describecluster (CASSANDRA-18512)
|
||||
* Remove unnecessary shuffling of GossipDigests in Gossiper#makeRandomGossipDigest (CASSANDRA-18546)
|
||||
Merged from 3.11:
|
||||
* Add keyspace and table name to exception message during ColumnSubselection deserialization (CASSANDRA-18346)
|
||||
Merged from 3.0:
|
||||
* Suppress CVE-2023-2976 (CASSANDRA-18562)
|
||||
* Remove dh_python use in Debian packaging (CASSANDRA-18558)
|
||||
|
|
|
|||
|
|
@ -205,10 +205,14 @@ public abstract class ColumnSubselection implements Comparable<ColumnSubselectio
|
|||
{
|
||||
// If we don't find the definition, it could be we have data for a dropped column, and we shouldn't
|
||||
// fail deserialization because of that. So we grab a "fake" ColumnMetadata that ensure proper
|
||||
// deserialization. The column will be ignore later on anyway.
|
||||
// deserialization. The column will be ignored later on anyway.
|
||||
column = metadata.getDroppedColumn(name);
|
||||
if (column == null)
|
||||
throw new UnknownColumnException("Unknown column " + UTF8Type.instance.getString(name) + " during deserialization");
|
||||
{
|
||||
String errorMsg = String.format("Unknown column %s in table %s.%s during deserialization",
|
||||
UTF8Type.instance.getString(name), metadata.keyspace, metadata.name);
|
||||
throw new UnknownColumnException(errorMsg);
|
||||
}
|
||||
}
|
||||
|
||||
Kind kind = Kind.values()[in.readUnsignedByte()];
|
||||
|
|
|
|||
Loading…
Reference in New Issue