Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Error 404 handling #258

Open
jleandroperez opened this issue Apr 23, 2014 · 1 comment
Open

Update Error 404 handling #258

jleandroperez opened this issue Apr 23, 2014 · 1 comment

Comments

@jleandroperez
Copy link
Contributor

Error 404 (Not Found) is triggered when a local pending change is sent after the object itself got deleted in another device.

Current Behavior:
Local pending changes are disregarded, upon 404, and there are no recovery mechanisms in place.

Expected Behavior:

  1. Ignore remote deletion messages, when the object has local pending changes
  2. When error 404 is received, retry posting the full object.
@chengfred
Copy link
Contributor

Clarification:
When doing #2 ( retry posting full object (by sending data in d)), remove sv field from change. Reason is: As server has already responded that this object no longer exists (404), specifying sv doesn't make sense anymore.

@jleandroperez jleandroperez modified the milestones: v0.6.6, v0.6.5 Jun 4, 2014
@jleandroperez jleandroperez modified the milestones: v0.6.7, v0.6.6 Jul 18, 2014
@jleandroperez jleandroperez modified the milestones: v0.6.8, v0.6.9 Aug 27, 2014
@jleandroperez jleandroperez modified the milestone: v0.6.9 Sep 9, 2014
@jleandroperez jleandroperez modified the milestone: v0.7.5 Nov 20, 2014
@jleandroperez jleandroperez modified the milestones: v0.7.5, v0.7.6 Nov 28, 2014
@jleandroperez jleandroperez modified the milestones: v0.7.6, v0.7.7 Jan 6, 2015
@jleandroperez jleandroperez modified the milestones: v0.7.7, v0.7.8 Feb 4, 2015
@jleandroperez jleandroperez modified the milestones: v0.7.9, v0.7.8 Feb 4, 2015
@jleandroperez jleandroperez removed their assignment Jan 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants