You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/d1/observability/debug-d1.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ The following table lists specific instances of `D1_ERROR`.
54
54
55
55
<Exampletitle="List of D1_ERRORs">
56
56
57
-
:::caution[Retry operations]
57
+
:::note[Retry operations]
58
58
While some D1 errors can be resolved by retrying the operation, retrying is only safe if your query is idempotent (produces the same result when executed multiple times).
59
59
60
60
Before retrying any failed operation:
@@ -66,9 +66,9 @@ Before retrying any failed operation:
|`D1 DB reset because its code was updated.`| Cloudflare has updated the code for D1 (or the underlying Durable Object), and the Durable Object which contains the D1 database is restarting. | Retry the operation. |
68
68
|`Internal error while starting up D1 DB storage caused object to be reset.`| The Durable Object containing the D1 database is failing to start. | Retry the operation. |
69
-
|`Network connection lost.`| A network error. | Retry the operation. |
69
+
|`Network connection lost.`| A network error. | Retry the operation. Refer to the "Retry operation" note above.|
70
70
|`Internal error in D1 DB storage caused object to be reset.`| An error has caused the D1 database to restart. | Retry the operation. |
71
-
|`Cannot resolve D1 DB due to transient issue on remote node.`| The query cannot reach the Durable Object containing the D1 database. | Retry the operation. |
71
+
|`Cannot resolve D1 DB due to transient issue on remote node.`| The query cannot reach the Durable Object containing the D1 database. | Retry the operation. Refer to the "Retry operation" note above.|
72
72
|`Can't read from request stream because client disconnected.`| A query request was made (e.g. uploading a SQL query), but the connection was closed during the query was fully executed. | App action: Retry the operation, and ensure the connection stays open. |
73
73
|`D1 DB storage operation exceeded timeout which caused object to be reset.`| A query is trying to write a large amount of information (e.g. GBs), and is taking too long. | App action: Optimize the queries (so that each query takes less time), send fewer requests by spreading the load over time, or shard the queries. |
74
74
|`D1 DB is overloaded. Requests queued for too long.`| The requests to the D1 database are queued for too long, either because there are too many requests, or the queued requests are taking too long. | App action: Optimize the queries (so that each query takes less time), send fewer requests by spreading the load over time, or shard the queries. |
0 commit comments