Coherence CE v21.06.2
This is Patch 2 of the Coherence CE v21.06 release.
Fixed Issues
- Improved the
Coherence.start()
method, released as part of the Bootstrap API in CE version 20.12, to return aCompletableFuture<Coherence>
instead of aCompletableFuture<Void>
. This allows a more fluent API when using static factory methods to create and start a Coherence instance. This is a breaking change in applications that specifically assign the result of calls toCoherence.start()
to aCompletableFuture<Void>
variable. - Fixed a
NullPointerException
that occurred when generating a log message after failing to start management over REST, which resulted in the misleading, and non-helpful, error log message: "Failure to initialize JMX remote management caused by:NullPointerException". - Fixed an issue where expired entries are not evicted for
ReadWriteBackingMap
. - Fixed an issue that class
ConverterComparator
is serializable, which is not required. - Fixed issue where the management over REST Endpoint to list services in a cluster returns a HTTP 500 error when the cluster has no services
- Fixed an issue where
NullPointerException
could occur in the index rebuild thread during failover, and lead to worker threads hanging waiting for index ready. - Fixed an issue with cluster start up when a unicast-listener/discovery-address is specified in multicast mode.
- Fixed an issue where CohQL Persistence commands may throw a
IllegalArgumentException
. - Fixed a memory leak that occurred when creating and releasing topic publishers and subscribers
- Added example showing how to monitor StatusHA for rolling redeploys
- Fixed an issue where if an initial event is not received for a partition DurableEvents will miss events that occurred while being disconnected.
- Improved Coherence metrics by removing external dependencies and relocating the code into the core
coherence.jar
, thereby removing the need for projects to depend oncoherence-metrics
, which is now an empty jar. - Improved the reallocation of topic subscriber channels by triggering this immediately on member departure instead of waiting for departed subscribers to timeout.
- Improved and hardened topic subscriber channel allocation notification.
- Improved the algorithm used to distribute channels to subscribers in a topic subscriber group to produce a more even distribution.
- Enhanced Coherence metrics to allow metric names to be published without a
vendor:
prefix which is controlled by setting the system propertycoherence.metrics.legacy.names=false
.