Skip to content

Commit 8a40fd5

Browse files
Document ON ERROR RETRY (neo4j#1203)
Note: This feature is no longer earmarked for Cypher 25, but will be part of Cypher 5 in the 2025.03 release.
1 parent 50c5503 commit 8a40fd5

File tree

2 files changed

+437
-97
lines changed

2 files changed

+437
-97
lines changed

modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,34 @@ New features are added to the language continuously, and occasionally, some feat
1616
This section lists all of the features that have been removed, deprecated, added, or extended in different Cypher versions.
1717
Replacement syntax for deprecated and removed features are also indicated.
1818

19+
[[cypher-deprecations-additions-removals-2025.03]]
20+
== Neo4j 2025.03
21+
22+
=== New features
23+
24+
[cols="2", options="header"]
25+
|===
26+
| Feature
27+
| Details
28+
29+
a|
30+
label:functionality[]
31+
label:new[]
32+
[source, cypher, role=noheader]
33+
----
34+
UNWIND range(1, 100) AS i
35+
CALL (i) {
36+
MERGE (u:User {id: i})
37+
ON CREATE SET u.created = timestamp()
38+
} IN TRANSACTIONS ON ERROR RETRY 1 SECOND THEN FAIL
39+
----
40+
41+
| New error handling option for `CALL { ... } IN TRANSACTIONS`: `ON ERROR RETRY`.
42+
This option applies an exponential delay between retries for transaction batches failing due to transient errors, with an optional maximum retry duration, and handles failure based on a specified fallback error mode if the transaction does not succeed within the given time.
43+
For more information, see xref:subqueries/subqueries-in-transactions#on-error-retry[`CALL` subqueries in transactions -> `ON ERROR RETRY`].
44+
45+
|===
46+
1947
[[cypher-deprecations-additions-removals-2025.01]]
2048
== Neo4j 2025.01
2149

0 commit comments

Comments
 (0)