Final sync doesn't check to see if we're already syncing

RESOLVED FIXED in 0.2

Status

RESOLVED FIXED
10 years ago
9 years ago

People

(Reporter: hello, Assigned: hello)

Tracking

unspecified
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

10 years ago
The final sync (on shutdown) should check to see if there is a sync in progress.  In that case, it should wait for that sync to finish, then either exit, or start another sync with the score threshold set to 0.

The current behavior is that the final sync does not check, and attempts to sync.  If there is a sync in progress, the final sync will fail (since it can't acquire the lock), and will then continue the shutdown.  On shutdown, the original sync in progress will be killed, leaving a stale lock on the server, and potentially other bad state on the server or client.
(Assignee)

Updated

10 years ago
Blocks: 433903
(Assignee)

Comment 1

10 years ago
Fixed in 0d670aeb160a.
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED

Updated

9 years ago
Component: Weave → General
Product: Mozilla Labs → Weave
QA Contact: weave → general
You need to log in before you can comment on or make changes to this bug.