Closed Bug 442713 Opened 16 years ago Closed 16 years ago

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

Categories

(Cloud Services :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: hello, Assigned: hello)

References

Details

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.
Blocks: 433903
Fixed in 0d670aeb160a.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
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.