Hazelcast v4.1-BETA Release Notes

Release Date: 2020-09-09 // over 3 years ago
  • ๐Ÿš€ This document lists the new features, enhancements, fixed issues and, removed or deprecated features for Hazelcast IMDG 4.1-BETA-1 release. The numbers in the square brackets refer to the issues in Hazelcast's GitHub repositories.

    ๐Ÿ†• New Features

    โœจ Enhancements

    The following are the other improvements performed to solve the enhancement
    issues opened by the Hazelcast customers/team.

    • โž• Added support for the merge operation in IMap. [#17419]
    • โž• Added support for publishing CP Subsystem and CP data structure
      statistics via Metrics. [#17369]
    • โž• Added public classes to expose the member- and
      client-side caching provider implementations (in the JCache implementation)
      without referring to internal classes. [#17320]
    • ๐Ÿ‘Œ Improved the entry processing mechanism so that the read-only processors on backups
      are not executed anymore. [#17318]
    • ๐Ÿ‘Œ Improved CacheSimpleConfig so that it now accepts cache name in its constructors. [#17287]
    • โž• Added support for advanced persistent memory configuration. [#17282]
    • ๐ŸŒฒ Cleaned up the noisy initial log messages on Hazelcast startups. [#17243]
    • โฑ Introduced auto-disposable tasks for the scheduled executor service. [#17215]
    • โž• Added support for configurable priority queues. [#17201]
    • Parallelized the partition replica migrations so that
      the time needed for rebalancing the partitions after adding
      or removing a member to/from a cluster is reduced. [#17197]
    • โž• Added support for basic SQL expressions. [#17183]
    • โž• Added client labels to ClientEndpointImpl.toString()
      to simplify the client identification (in addition to client uuid)
      on the Hazelcast member side. [#17178]
    • โž• Added the statistics entry to phone home, that counts the caches having WAN replication
      ๐Ÿ”ง configured. [#17143]
    • โž• Added support for tenant control when creating caches. [#17122]
    • โž• Added support for accessing domain objects without domain classes (GenericRecord). [#17105]
    • โž• Added metric count support for sets, and maps having backup reads enabled,
      ๐Ÿ”ง query caches, map stores, custom attributes and WAN replication configurations.
      [#17053], [#17071], [#17069], [#17081]
    • โž• Added support for IMap.compute(). [#17030]
    • โž• Added support to allow submitting and executing operations while a member
      is shutting down to increase the availability of a cluster more that keeps
      large data. [#17028]
    • โž• Added ExtendedMapEntry in order to create a mechanism for setting TTLs in
      entry processors. [#16991]
    • โž• Added hazelcast-azure discovery plugin to the hazelcast-all module. [#16982]
    • Introduced the ConfigRecognition API that determines if a
      ๐Ÿ”ง provided declarative configuration is recognized by the rules defined in a given
      implementation. Along with the API the following three implementations are added:
      ** MemberConfigRecognizer for recognizing member XML and YAML configurations
      ** ClientConfigRecognizer for recognizing client XML and YAML configurations
      ** ClientFailoverConfigRecognizer for recognizing failover client XML and YAML configurations
      [#16958]
    • ๐Ÿ”Š Made the diagnostics logs more cloud-friendly so that they are sent to
      stdout instead of sending to local files. [#16941]
    • ๐Ÿ‘Œ Improved the mechanism of partition table updates to
      โšก๏ธ eliminate the latencies when these updates are sent to the clients by a member. [#16939]
    • ๐Ÿ‘Œ Improved the client configuration such that when the client
      ๐Ÿ”ง failover configuration is provided, the reconnect mode cannot
      be set as off; it now fails fast in this case. [#16886]
    • ๐Ÿ‘ Introduced the forEach() loop support for IMap. [#16877]
    • โž• Added the load() method to Config, ClientConfig and
      ๐Ÿ”ง ClientFailoverConfig classes. This method loads the configuration
      ๐Ÿ”ง with the known locations. If not found, the default configuration is returned. [#16864]
    • ๐Ÿ‘Œ Improved the deleteAll() (MapStore) and ITopic Javadocs. [#16862], [#16861],
    • Introduced the ServerConnection and ClientConnection interfaces
      that extend Connection for cleaning up purposes. [#16849]
    • Implemented the root operator for the SQL engine
      responsible for getting the final result stream. [#16829]
    • โž• Added support for IMap.computeIfAbsent(). [#16808]
    • Introduced SQL thread pools for query processing. [#16805]
    • Introduced the network protocol, base executor and row
      interfaces for the SQL engine. [#16799], [#16762]
    • โž• Added the setAll() and setAllAsync() methods for IMap. [#16787]
    • โž• Added the writeOrdered() method to the Connection class
      for the purpose of ordered delivery of messages. [#16776]
    • โž• Added the creation time metric for the executor service. [#16775]
    • ๐Ÿ‘Œ Improved an unclear exception message for credentials. [#16756]
    • โšก๏ธ Updated the related aspects of Hazelcast IMDG after the
      ๐Ÿ”„ changes done on the client protocol side to add the ability
      to add new parameters, methods, services, events and custom types
      to codecs. [#16718]
    • โž• Added the offset parameter that can be used while creating
      inputs in BufferObjectDataInput. [#16701]
    • Introduced the putAllAsync() method for MultiMap. [#16698]
    • Defined metrics for ISet and IList collections. [#16665]
    • โฌ†๏ธ Upgraded log4j2 version to 2.13.0. [#16654]
    • ๐Ÿ“‡ Renamed MultiMap proxy implementation to follow the established naming convention:
      ObjectMultiMapProxy -> MultiMapProxyImpl. [#16637]
    • ๐Ÿ‘Œ Improved the computeIfPresent() implementation so that now it keeps a
      ๐Ÿ‘ฏ clone of the old/existing value and uses that for replace/delete operations. [#16636]
    • ๐ŸŒฒ Introduced the hazelcast.logging.details.enabled property
      ๐ŸŒฒ to make the logging of cluster version, name and IP optional to
      โฌ‡ decrease the noise in the logs when, for example, you have a single-member cluster. [#16622]

    - โฌ†๏ธ Upgraded the Hazelcast Kubernetes plugin version to 2.0.1. [#16590]

    • Added the support for automatically detecting the classloader
      ๐Ÿš€ of a type for the user code deployment feature. [#16585]
      • Made IMap.putAllAsync() and IMap.submitToKeys() methods public API. [#16449]
      • Implemented the base type system for SQL: the base SQL data types
        have been defined and mapped to the corresponding Java types.
        Type information is used by executor stages to use the right strategy
        of expression evaluation. [#15241]
      • ๐Ÿ‘ป Clarified the exception message when you connect to a cluster with an
        invalid group name. [#15099]
      • ๐Ÿ”จ Refactored the check and retry initialization logic of
        ReplicatedMapProxy so that they are performed in parallel for different
        partitions. [#14331]
      • โž• Added a test for the ClientConsoleApp class. [#12298]
      • ๐Ÿ‘Œ Improved the behavior of ConcurrentMap.computeIfPresent:
        combined single client-server round trips instead of two (for get and
        replace methods). [#11958]

    ๐Ÿ’ฅ Breaking Changes

    • In a CP subsystem session, a generic IllegalStateException was being thrown when Hazelcast
      is shutdown. Now the same situation throws HazelcastInstanceNotActiveException. [#17120]
    • The TcpIpConnection class has been renamed as ServerConnection. [#16839]

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fixed an issue where the custom load balancers
      ๐Ÿ”ง could not be configured declaratively. [#17415]
    • ๐Ÿ›  Fixed the issue of dangling pointers in global indexes. [#17338]
    • ๐Ÿ›  Fixed a race issue when creating a cache (JCache) using
      multiple methods with the same cache name but having different keys.[#17286]
    • ๐Ÿ›  Fixed an issue where the repeated calls of executeOnKeys()
      in Hazelcast clients for NATIVE maps was causing a continuous
      increase in the used memory and exhaustion of the memory pool after a while. [#17276]
    • ๐Ÿ›  Fixed an issue where ReliableTopicMessageListener was firing a warning when the client is shutting down. [#17153]
    • ๐Ÿ›  Fixed an issue where the client was stuck with an outdated
      member list after a split-brain scenario. [#17147]
    • ๐Ÿ›  Fixed the broken interoperability between the CompletableFuture methods. [#17020]
    • ๐Ÿ›  Fixed an issue where touching a map entry having an entry processor working on it
      was modifying its time-to-live. [#16987]
    • ๐Ÿ›  Fixed an issue in the cache service where its pre-join
      operation was considering CacheConfig as resolved: it
      was assuming that key/value types, user customizations and
      ๐Ÿ”ง other cache configurations have been loaded. This was an issue
      when the cache is not touched yet. [#16917]
    • ๐Ÿ›  Fixed an issue where Management Center was not working as expected
      ๐Ÿ”ง when the cluster is set up using advanced network configuration. [#16910]
    • ๐Ÿ›  Fixed an issue where ServiceLoader was round-tripping between URL and URI,
      and consequently loses the associated URLStreamHandler when trying to load
      Hazelcast from a custom class loader. [#16846]
    • ๐Ÿ›  Fixed an issue where the class definitions, that are registered explicitly in
      ๐Ÿ”ง the serialization configuration and have the same class ID in different factories,
      were not handled properly. [#16831]
    • ๐Ÿ›  Fixed the NullPointerException in IndexCopyBehavior.NEVER mode. [#16784]
    • ๐Ÿ›  Fixed an issue where the client permissions for Reliable Topic and Ringbuffer
      we're missing. [#16755]
    • ๐Ÿ›  Fixed an issue where the type information was missing the Metrics MBeans. [#16747]
    • ๐Ÿ›  Fixed an issue where the RESP API was always requiring the call URLs
      to end with a slash character. [#16688]
    • ๐Ÿ›  Fixed an issue where the service URL for Eureka could not be set
      ๐Ÿ”ง using the declarative configuration. [#16679]
    • ๐Ÿ›  Fixed an issue where the wait key of a blocking call within
      a Raft invocation was still being reported as a live operation,
      when the key times out. [#16614]
    • ๐Ÿ›  Fixed an issue where the upload of classes using the client
      ๐Ÿš€ user code deployment were not successful when they are retrieved not
      in their created order. [#16612]
    • ๐Ÿ›  Fixed an issue where the size() method was returning a negative
      value when map, cache and multimap contain more than Integer.MAX_VALUE entries. [#16594]
    • ๐Ÿ›  Fixed an invalidation issue when using a transactional map
      from a cache with a Near Cache: the cache invalidation event occurs
      when the transactionalMap.put method is called. As a result,
      the entry was getting invalidated before the change is committed to the map. [#16579]
    • ๐Ÿ›  Fixed an issue where InPredicate was not invoking value comparison when the
      read attribute is null. [#15100]
    • ๐Ÿ›  Fixed an issue where Map, Cache, MultiMap data structures
      were returning negative values (size()) when the size is more than
      Integer.MAX_VALUE. [#14935]

    Contributors

    We would like to thank the contributors from our open source
    ๐Ÿš€ community who worked on this release:

    • Inel Pandzic
    • Omid Pourhadi
    • Ryan Lindeborg
    • Santhosh Kumar
    • Bartek Kowalczyk
    • Ashutosh Agrawal
    • รdรกm Berkecz
    • HugeOrangeDev
    • Harry Tran
    • Stephen Russett
    • Ulf Adams
    • Abdul Aziz Ali
    • Dmitry Konstantinov
    • Anmol Chaddha
    • lprimak
    • keteracel
    • Burak Sezer
    • wangumer
    • Marcin L