Netsend / mastersync

multi-master replication
GNU Affero General Public License v3.0
0 stars 1 forks source link

versioned_collection_reader race condition #33

Closed timkuijsten closed 9 years ago

timkuijsten commented 9 years ago

since the consumer can resume the database stream and handleItem relies on the input being paused, a race condition exists.

refactor the code to use async.queue to ensure items are being processed serially.