mirror of https://github.com/apache/cassandra
Merge branch 'cassandra-4.1' into trunk
This commit is contained in:
commit
baca1dd9be
|
|
@ -392,7 +392,7 @@ public class PartitionDenylist
|
|||
|
||||
/**
|
||||
* Attempts to reload the DenylistEntry data from CQL for the given TableId and key count.
|
||||
* @return null if we do not find the data; allows cache reloader to preserve old value
|
||||
* @return empty denylist if we do not or cannot find the data, preserving the old value, otherwise the new value
|
||||
*/
|
||||
private DenylistEntry getDenylistForTableFromCQL(final TableId tid, int limit)
|
||||
{
|
||||
|
|
@ -449,8 +449,8 @@ public class PartitionDenylist
|
|||
}
|
||||
catch (final RequestExecutionException e)
|
||||
{
|
||||
logger.error("Error reading partition_denylist table for {}/{}. Returning empty list.", tmd.keyspace, tmd.name, e);
|
||||
return null;
|
||||
logger.error("Error reading partition_denylist table for {}/{}. Returning empty denylist.", tmd.keyspace, tmd.name, e);
|
||||
return new DenylistEntry();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue