Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.8.0
-
Security Level: Public
-
None
-
CBG Sprint 82, CBG Sprint 83
-
5
Description
Sync Gateway returns a 404 in the case where a deltaSrc revision was either not found or was a tombstone (meaning we couldn't apply a delta on top of it), and the rev is considered a failed write and is not retried.
CBL in these cases return a 422 status code, to ask the sender to retry without deltas (CBG-881)
We should make ISGR return 422 status codes in the above cases to align with CBL and get the automatic rev retry handling. In addition, we may also want to consider retrying without deltas when we get 404, in order to allow for mixed-version ISGR compatibility.
Attachments
Issue Links
- causes
-
CBG-1719 Flaky test: TestUnprocessibleDeltas
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Link | This issue relates to CBSE-10654 [ CBSE-10654 ] |
Fix Version/s | Lithium [ 16180 ] |
Assignee | The One [ the one ] | Isaac Lambat [ JIRAUSER25602 ] |
Story Points | 5 |
Description |
Sync Gateway returns a 404 in the case where a deltaSrc revision was either not found or was a tombstone (meaning we couldn't apply a delta on top of it), and the rev is considered a failed write and is not retried.
CBL in these cases return a 422 status code, to ask the sender to retry without deltas (CBG-881) We should make SG return 422 status codes in the above cases to align with CBL and get the automatic rev retry handling. In addition, we may also want to consider retrying without deltas when we get 404, in order to allow for mixed-version ISGR compatibility. |
Sync Gateway returns a 404 in the case where a deltaSrc revision was either not found or was a tombstone (meaning we couldn't apply a delta on top of it), and the rev is considered a failed write and is not retried.
CBL in these cases return a 422 status code, to ask the sender to retry without deltas (CBG-881) We should make ISGR return 422 status codes in the above cases to align with CBL and get the automatic rev retry handling. In addition, we may also want to consider retrying without deltas when we get 404, in order to allow for mixed-version ISGR compatibility. |
Sprint | CBG Sprint 82 [ 1777 ] |
Rank | Ranked lower |
Sprint | CBG Sprint 82 [ 1777 ] |
Rank | Ranked higher |
Sprint | CBG Sprint 82 [ 1777 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Description |
Sync Gateway returns a 404 in the case where a deltaSrc revision was either not found or was a tombstone (meaning we couldn't apply a delta on top of it), and the rev is considered a failed write and is not retried.
CBL in these cases return a 422 status code, to ask the sender to retry without deltas (CBG-881) We should make ISGR return 422 status codes in the above cases to align with CBL and get the automatic rev retry handling. In addition, we may also want to consider retrying without deltas when we get 404, in order to allow for mixed-version ISGR compatibility. |
Sync Gateway returns a 404 in the case where a deltaSrc revision was either not found -or was a tombstone- (meaning we couldn't apply a delta on top of it), and the rev is considered a failed write and is not retried.
CBL in these cases return a 422 status code, to ask the sender to retry without deltas (CBG-881) We should make ISGR return 422 status codes in the above cases to align with CBL and get the automatic rev retry handling. In addition, we may also want to consider retrying without deltas when we get 404, in order to allow for mixed-version ISGR compatibility. |

Status | In Progress [ 3 ] | In Review [ 10107 ] |
Status | In Review [ 10107 ] | In Progress [ 3 ] |
Sprint | CBG Sprint 82 [ 1777 ] | CBG Sprint 82, CBG Sprint 83 [ 1777, 1801 ] |
Status | In Progress [ 3 ] | Open [ 1 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | In Review [ 10107 ] |

Resolution | Fixed [ 1 ] | |
Status | In Review [ 10107 ] | Resolved [ 5 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
404 no longer returned for FromRev tombstoned revisions (
CBG-1427)