Skip to content

Commit 3a67636

Browse files
authored
Added FAILED_PRECONDITION as a possible error for GetMetadataDelta to (#591)
indicate that changed block tracking has not been enabled in the underlying storage subsystem.
1 parent f437b19 commit 3a67636

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

spec.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3342,7 +3342,7 @@ The following conditions are well defined:
33423342

33433343
| Condition | gRPC Code | Description | Recovery Behavior |
33443344
|-----------|-----------|-------------|-------------------|
3345-
| Missing or otherwise invalid argument | 3 INVALID_ARGUMENT | Indicates that a required argument field was not specified or an argument value is invalid | The caller should correct the error and resubmit the call. |
3345+
| Missing or otherwise invalid argument | 3 INVALID_ARGUMENT | Indicates that a required argument field was not specified or an argument value is invalid. | The caller should correct the error and resubmit the call. |
33463346
| Invalid `snapshot_id` | 5 NOT_FOUND | Indicates that the snapshot specified was not found. | The caller should re-check that this object exists. |
33473347
| Invalid `starting_offset` | 11 OUT_OF_RANGE | The starting offset is negative or exceeds the volume size. | The caller should specify a valid offset. |
33483348

@@ -3436,8 +3436,9 @@ The following conditions are well defined:
34363436

34373437
| Condition | gRPC Code | Description | Recovery Behavior |
34383438
|-----------|-----------|-------------|-------------------|
3439-
| Missing or otherwise invalid argument | 3 INVALID_ARGUMENT | Indicates that a required argument field was not specified or an argument value is invalid | The caller should correct the error and resubmit the call. |
3439+
| Missing or otherwise invalid argument | 3 INVALID_ARGUMENT | Indicates that a required argument field was not specified or an argument value is invalid. | The caller should correct the error and resubmit the call. |
34403440
| Invalid `base_snapshot_id` or `target_snapshot_id` | 5 NOT_FOUND | Indicates that the snapshots specified were not found. | The caller should re-check that these objects exist. |
3441+
| Changed block tracking is not enabled | 9 FAILED_PRECONDITION | Changed block tracking has not been enabled in the underlying storage subsystem. | The caller should perform a full backup instead. The operation would proceed if changed block tracking was enabled in the storage subsystem, but how this is to be accomplished is beyond the scope of this specification. |
34413442
| Invalid `starting_offset` | 11 OUT_OF_RANGE | The starting offset is negative or exceeds the volume size. | The caller should specify a valid offset. |
34423443

34433444
## Protocol

0 commit comments

Comments
 (0)