mozilla-services/android-sync — comment on commit fea9469130a7fc44ea71d7a2a377c2823359f822
File: src/main/java/org/mozilla/gecko/sync/stage/SyncClientsEngineStage.java line 69
By rnewman:

This will — in theory, at least — go on to the next session regardless of the result of uploadClientRecord, which is asynchronous.

If you intend the operation of this stage to be:

```
init
download records
upload record
advance
```

then you need to do the right chaining in the various success handlers of each delegate, or use a system of monitors with `wait` and `notify` to serialize the code.