Merge branch 'cassandra-5.0' into trunk

This commit is contained in:
Stefan Miklosovic 2023-09-18 21:23:18 +02:00
commit c2a4caa730
No known key found for this signature in database
GPG Key ID: 32F35CB2F546D93E
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,8 @@
5.1
* Clean up obsolete functions and simplify cql_version handling in cqlsh (CASSANDRA-18787)
Merged from 5.0:
* Do not log stacktrace on mismatched cache and schema version and checksum error in AutoSavingCache (CASSANDRA-18862)
* Remove wrong assertion in SSTableLoader (CASSANDRA-18840)
* Fix accessing java.nio.Bits.TOTAL_CAPACITY in Java17 (CASSANDRA-18848)
* Remove metrics-reporter-config dependency (CASSANDRA-18743)
* Fix SAI's SegmentMetadata min and max primary keys (CASSANDRA-18734)

View File

@ -269,12 +269,12 @@ public class AutoSavingCache<K extends CacheKey, V> extends InstrumentingCache<K
catch (CorruptFileException e)
{
JVMStabilityInspector.inspectThrowable(e);
logger.warn(String.format("Non-fatal checksum error reading saved cache %s", dataPath.absolutePath()), e);
logger.warn("Non-fatal checksum error reading saved cache {}: {}", dataPath.absolutePath(), e.getMessage());
}
catch (Throwable t)
{
JVMStabilityInspector.inspectThrowable(t);
logger.info(String.format("Harmless error reading saved cache %s", dataPath.absolutePath()), t);
logger.info("Harmless error reading saved cache {}: {}", dataPath.absolutePath(), t.getMessage());
}
finally
{