|
53 | 53 | - [-3209`XX` `FAILED_PRECONDITION` errors](#-3209xx-failed_precondition-errors) |
54 | 54 | - [-320900 `OUT_OF_ORDER`](#-320900-out_of_order) |
55 | 55 | - [-320901 `AWAITING_REPLACEMENT_BLOCK`](#-320901-awaiting_replacement_block) |
| 56 | + - [-320902 `REWIND_FAILED`](#-320902-rewind_failed) |
56 | 57 | - [-3210`XX` `ABORTED` errors](#-3210xx-aborted-errors) |
57 | 58 | - [-321000 `ITER_STOP`](#-321000-iter_stop) |
| 59 | + - [-321001 `INVALIDATED_READ`](#-321001-invalidated_read) |
| 60 | + - [-321002 `ALREADY_INVALIDATING_READ`](#-321002-already_invalidating_read) |
58 | 61 | - [-3211`XX` `OUT_OF_RANGE` errors](#-3211xx-out_of_range-errors) |
59 | 62 | - [-321100 `OUT_OF_SCOPE`](#-321100-out_of_scope) |
60 | 63 | - [-3212`XX` `UNIMPLEMENTED` errors](#-3212xx-unimplemented-errors) |
@@ -421,13 +424,25 @@ Happens when you try to add data to the DB, but it does not actually fit onto th |
421 | 424 |
|
422 | 425 | Happens when we know for sure that a replacement block is needed before progress can be made. |
423 | 426 |
|
| 427 | +###### -320902 `REWIND_FAILED` |
| 428 | + |
| 429 | +Happens when we fail to rewind the chain (reorg response). |
| 430 | + |
424 | 431 | ##### -3210`XX` `ABORTED` errors |
425 | 432 |
|
426 | 433 | ###### -321000 `ITER_STOP` |
427 | 434 |
|
428 | 435 | Happens in iterator to indicate iteration has to stop. |
429 | 436 | This error might only be used internally and not sent over the network. |
430 | 437 |
|
| 438 | +###### -321001 `INVALIDATED_READ` |
| 439 | + |
| 440 | +Happens when something was assumed from the DB, but then invalidated due to e.g. a reorg. |
| 441 | + |
| 442 | +###### -321002 `ALREADY_INVALIDATING_READ` |
| 443 | + |
| 444 | +Happens when something is being invalidated, and something else attempts to invalidate at the same time. |
| 445 | + |
431 | 446 | ##### -3211`XX` `OUT_OF_RANGE` errors |
432 | 447 |
|
433 | 448 | ###### -321100 `OUT_OF_SCOPE` |
@@ -456,4 +471,4 @@ Happens when we search the DB, know the data may be there, but is not (e.g. diff |
456 | 471 |
|
457 | 472 | ###### -321501 `DATA_CORRUPTION` |
458 | 473 |
|
459 | | -Happens when the underlying DB has some I/O issue. |
| 474 | +Happens when the underlying DB has some I/O issue. |
0 commit comments