Skip to content

v2.16.0

Compare
Choose a tag to compare
@MarkoBarisic MarkoBarisic released this 10 Apr 11:56
· 89 commits to master since this release

Memgraph v2.16.0 - Apr 10, 2024

New features and improvements

  • Added a new command, DROP GRAPH, that deletes data in the database in an efficient manner. #1723
  • Fixed a bug that caused the incorrect coordinator to become the leader due to missing cluster state data. #1897
  • Added support for edge type indices to optimize query performance on graphs. #1542
  • Added automatic index creation for node labels and edge types. Two new configuration flags control this feature for labels and edge-types automatically encountered by the database. #1841
  • Added support for bolt+routing when connecting to a cluster of Memgraph instances. #1796
  • Expanded the min() and max() functions to support temporal types, improving date and time manipulation capabilities. #1790
  • Renamed HA flags --raft-server-id to --coordinator-id, --raft-server-port to --coordinator-port, --coordinator-server-port to --management-port to improve cluster setup. #1820 - Reduced the size of the Delta from 80B to 56B #1747
  • Extended the C/C++ API to support query execution. #1773
  • Updated queries used for registering replication instances and coordinator instances. #1809
  • ¸Introduced the lock on operations such as SETTING INSTANCE to MAIN, REGISTER INSTANCE, UNREGISTER INSTANCE, and FAILOVER for better control of the cluster state. #1819
  • When doing failover, the Coordinator chooses a new MAIN by comparing which memgraph database is up-to-date. #1729
  • Changing instance's replication role is now backed by Raft. #1728
  • If REPLICA diverges from MAIN, MAIN will automatically initiate a forced data reset on REPLICA. #1777
  • User can create, set, or remove labels using property values. #1762
  • Introduced the ability to fetch edges based on edge ID. #1808
  • Added support for pattern comprehensions when used in WITH and RETURN clauses. #1827 #1874 #1903
  • Introduced a force reset feature to revert the cluster to its pre-operation state in case of failure. #1836

Bug fixes

  • Added an early exit when doing OR filter expressions if the first expression evaluates to true. #1738
  • Configuration settings are now properly verified to ensure that periodic snapshots are only taken when appropriate. #1835
  • Improved replication stability in high-availability (HA) clusters to handle situations where the REPLICA node is several epochs or commits behind the MAIN node. #1743
  • Fixed a bug that could occur when shutting down the Raft server. Initializing Memgraph enterprise instance without specifying any flag used in high-availability is now allowed. #1823
  • Query allocations now use a single allocation subsystem rather than two. Memory no longer horded by bolt workers. #1801
  • The schema.node_type_properties() and schema.rel_type_properties() functions now work as equivalents to Neo4j's functions. #1718
  • Merging node or edge with null property now raises an error. #1810
  • When adding coordinators in cluster, action will fully succeed or fail before coordinators returns result from query. #1792
  • Fixed a bug responsible for the incorrect edge count when a graph was dropped using DROP GRAPH. Now, accurate edge counts are displayed in the SHOW STORAGE INFO output. #1921