Skip to content

Commit 23cdc67

Browse files
committed
Added FAILED_PRECONDITION as a possible error for GetMetadataDelta to
indicate that changed block tracking has not been enabled in the underlying storage subsystem.
1 parent a539b4f commit 23cdc67

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
@@ -3343,7 +3343,7 @@ The following conditions are well defined:
33433343

33443344
| Condition | gRPC Code | Description | Recovery Behavior |
33453345
|-----------|-----------|-------------|-------------------|
3346-
| 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. |
3346+
| 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. |
33473347
| Invalid `snapshot_id` | 5 NOT_FOUND | Indicates that the snapshot specified was not found. | The caller should re-check that this object exists. |
33483348
| Invalid `starting_offset` | 11 OUT_OF_RANGE | The starting offset is negative or exceeds the volume size. | The caller should specify a valid offset. |
33493349

@@ -3437,8 +3437,9 @@ The following conditions are well defined:
34373437

34383438
| Condition | gRPC Code | Description | Recovery Behavior |
34393439
|-----------|-----------|-------------|-------------------|
3440-
| 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. |
3440+
| 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. |
34413441
| 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. |
3442+
| 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 work if changed block tracking was enabled in the storage subsystem, but how this is to be accomplished is beyond the scope of this specification. |
34423443
| Invalid `starting_offset` | 11 OUT_OF_RANGE | The starting offset is negative or exceeds the volume size. | The caller should specify a valid offset. |
34433444

34443445
## Protocol

0 commit comments

Comments
 (0)