Skip to content

Commit d038d5c

Browse files
committed
fix(monolith): a little more help for partial writes
1 parent 87c71f4 commit d038d5c

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

content/shared/v3-core-get-started/_index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ influxdb3 write --database=mydb --file=server_data
262262
```
263263
264264
The following examples show how to write data using `curl` and the `/api/3/write_lp` HTTP endpoint.
265-
To show the difference between accepting and rejecting partial writes, `line 2` in the example contains a `string` value for a `float` field (`temp=hi`).
265+
To show the difference between accepting and rejecting partial writes, line `2` in the example contains a `string` value for a `float` field (`temp=hi`).
266266
267267
##### Partial write of line protocol occurred
268268
@@ -278,6 +278,7 @@ With `accept_partial=true`:
278278
{"error":"partial write of line protocol occurred","data":[{"original_line":"dquote> home,room=Sunroom temp=hi","line_number":2,"error_message":"No fields were provided"}]}%
279279
```
280280
281+
Line `1` is written and queryable.
281282
The response is an HTTP error (`400`) status, and the response body contains `partial write of line protocol occurred` and details about the problem line.
282283
283284
##### Parsing failed for write_lp endpoint
@@ -296,6 +297,7 @@ dquote> home,room=Sunroom temp=hi"
296297
{"error":"parsing failed for write_lp endpoint","data":{"original_line":"dquote> home,room=Sunroom temp=hi","line_number":2,"error_message":"No fields were provided"}}%
297298
```
298299
300+
Neither line is written to the database.
299301
The response is an HTTP error (`400`) status, and the response body contains `parsing failed for write_lp endpoint` and details about the problem line.
300302
301303
##### Data durability

content/shared/v3-enterprise-get-started/_index.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ influxdb3 write --database=mydb --file=server_data
250250
```
251251
252252
The following examples show how to write data using `curl` and the `/api/3/write_lp` HTTP endpoint.
253-
To show the difference between accepting and rejecting partial writes, `line 2` in the example contains a `string` value for a `float` field (`temp=hi`).
253+
To show the difference between accepting and rejecting partial writes, line `2` in the example contains a `string` value for a `float` field (`temp=hi`).
254254
255255
##### Partial write of line protocol occurred
256256
@@ -266,7 +266,8 @@ With `accept_partial=true`:
266266
{"error":"partial write of line protocol occurred","data":[{"original_line":"dquote> home,room=Sunroom temp=hi","line_number":2,"error_message":"No fields were provided"}]}%
267267
```
268268
269-
The response is an HTTP error (`400`) status, and the response body contains `partial write of line protocol occurred` and details about the problem line.
269+
Line `1` is written and queryable.
270+
The response is an HTTP error (`400`) status, and the response body contains `partial write of line protocol occurred` and details about the problem line.
270271
271272
##### Parsing failed for write_lp endpoint
272273
@@ -284,6 +285,7 @@ dquote> home,room=Sunroom temp=hi"
284285
{"error":"parsing failed for write_lp endpoint","data":{"original_line":"dquote> home,room=Sunroom temp=hi","line_number":2,"error_message":"No fields were provided"}}%
285286
```
286287
288+
Neither line is written to the database.
287289
The response is an HTTP error (`400`) status, and the response body contains `parsing failed for write_lp endpoint` and details about the problem line.
288290
289291
##### Data durability

0 commit comments

Comments
 (0)