Skip to content

continuous replication hangs on the first update #3

@jchris

Description

@jchris

When I have a TouchDB running continuous sync from basecouch, I see a ton of requests to the _changes, like the longpoll is not waiting and so the client is issuing another request.

Then when there IS an update, the requests stop and I get output like this:

2012/12/18 15:32:53 GET /channelsync/_changes?feed=longpoll&heartbeat=300000&style=all_docs&since=137&limit=100&filter=channelsync/bychannel&channels=043527951231226325,28639595629647374,907225544564426
2012/12/18 15:32:53 GET /channelsync/_changes?feed=longpoll&heartbeat=300000&style=all_docs&since=137&limit=100&filter=channelsync/bychannel&channels=043527951231226325,28639595629647374,907225544564426
2012/12/18 15:32:53 GET /channelsync/_changes?feed=longpoll&heartbeat=300000&style=all_docs&since=137&limit=100&filter=channelsync/bychannel&channels=043527951231226325,28639595629647374,907225544564426
2012/12/18 15:32:53 GET /channelsync/_changes?feed=longpoll&heartbeat=300000&style=all_docs&since=137&limit=100&filter=channelsync/bychannel&channels=043527951231226325,28639595629647374,907225544564426
2012/12/18 15:32:53 GET /channelsync/_changes?feed=longpoll&heartbeat=300000&style=all_docs&since=137&limit=100&filter=channelsync/bychannel&channels=043527951231226325,28639595629647374,907225544564426
2012/12/18 15:32:53 POST /channelsync/_revs_diff
2012/12/18 15:32:53 POST /channelsync/_bulk_docs
2012/12/18 15:32:53 Assigning doc "testdoc" to channels []
2012/12/18 15:32:53 ...done waiting
2012/12/18 15:32:53 ...done waiting
2012/12/18 15:32:53 ...done waiting
2012/12/18 15:32:53 ...done waiting
2012/12/18 15:32:53 ...done waiting
2012/12/18 15:32:53 ...done waiting
2012/12/18 15:32:53 ...done waiting
2012/12/18 15:32:53 ...done waiting
2012/12/18 15:32:53 ...done waiting
2012/12/18 15:32:53 ...done waiting
2012/12/18 15:32:53 ...done waiting
2012/12/18 15:32:53 ...done waiting
2012/12/18 15:32:53 GET /channelsync/_changes?feed=longpoll&heartbeat=300000&style=all_docs&since=137&limit=100&filter=channelsync/bychannel&channels=043527951231226325,28639595629647374,907225544564426
2012/12/18 15:32:53 ...done waiting
2012/12/18 15:32:53 ...done waiting
2012/12/18 15:32:53 ...done waiting
2012/12/18 15:32:53 ...done waiting
2012/12/18 15:32:53 waiting for a revision...
2012/12/18 15:32:53 waiting for a revision...
2012/12/18 15:32:53 waiting for a revision...
2012/12/18 15:32:53 waiting for a revision...
2012/12/18 15:32:53 waiting for a revision...
2012/12/18 15:32:53 waiting for a revision...
2012/12/18 15:32:53 waiting for a revision...
2012/12/18 15:32:53 waiting for a revision...
2012/12/18 15:32:53 waiting for a revision...
2012/12/18 15:32:53 waiting for a revision...
2012/12/18 15:32:53 waiting for a revision...
2012/12/18 15:32:53 waiting for a revision...
2012/12/18 15:32:53 waiting for a revision...
2012/12/18 15:32:53 waiting for a revision...
2012/12/18 15:32:53 waiting for a revision...
2012/12/18 15:32:53 waiting for a revision...
2012/12/18 15:32:53 waiting for a revision...
2012/12/18 15:32:53 waiting for a revision...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions