Skip to content

continuous replication hangs on the first update #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jchris opened this issue Dec 18, 2012 · 2 comments
Closed

continuous replication hangs on the first update #3

jchris opened this issue Dec 18, 2012 · 2 comments

Comments

@jchris
Copy link
Contributor

jchris commented Dec 18, 2012

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...

@snej
Copy link
Contributor

snej commented Dec 20, 2012

Fixed in ac901c2 — there was a stupid regression that caused the feed to be effectively ignored.

@snej snej closed this as completed Dec 20, 2012
@escoz
Copy link

escoz commented Dec 20, 2012

Thanks @snej !

cbbruno added a commit to cbbruno/sync_gateway_mod that referenced this issue Feb 8, 2022
cbbruno added a commit to cbbruno/sync_gateway_mod that referenced this issue Feb 8, 2022
cbbruno added a commit that referenced this issue Feb 15, 2022
* initial commit, go get and test working

* fix goutils dependency

* delete pkg, mod tidy

* basic ci

* minor ci yml changes

* badge change

* revamp of build.sh

* ci os matrix, race, shell scripts

* removing windows for now

* rework of ci yml

* test go private

* build ce as before

* rename build job, test pkgs

* fix gofmt

* fix gofmt, #2

* add jenkins build script

* initial jenkins build script

* fix double PATH, remove SG_COMMIT

* redo mod tidy

* fix coverpkg

* fix typo, update jenkins build script from job

* leaving coverpkg out for now

* readme reset

* readme and build instructions

* initial PR-Jenkinsfile

* dummy to trigger jenkins

* Delete DUMMY

* add checkout

* no ee build for now

* move checkout after go setup

* split scm checkout 1 and 2

* fix vet fmt

* fix gocov

* fix gocov sh command

* fix git status wrapper

* fix git status wrapper, #2

* fix gotools vs gopath

* go plugin bare minimum

* go plugin bare minimum, #2

* go plugin bare minimum, #3

* go plugin bare minimum, #5

* go plugin bare minimum, #6

* revert go plugin

* removed bootstrap

* removed global 111 module off

* add platform builds

* try to cleanup pre scm

* remove mv

* remove EE for now

* add checks

* go tools install vs get

* remove GOPATH, GOTOOLS

* add tests

* fix GOPATH #1

* add benchmarks and post

* force git ssh for go-fleecedelta

* removed commented out gopath and gotools

* add git ssh config, cleanup comments

* minor changes and cleanup before PR

* update license to BSL 1.1, PR feedback

* ci yaml go version and remove cache

* sync files from upstream

* initial ec2 jenkinsfile sync

* remove cache and go version, p2
cbbruno added a commit that referenced this issue Feb 17, 2022
* initial commit, go get and test working

* fix goutils dependency

* delete pkg, mod tidy

* basic ci

* minor ci yml changes

* badge change

* revamp of build.sh

* ci os matrix, race, shell scripts

* removing windows for now

* rework of ci yml

* test go private

* build ce as before

* rename build job, test pkgs

* fix gofmt

* fix gofmt, #2

* add jenkins build script

* initial jenkins build script

* fix double PATH, remove SG_COMMIT

* redo mod tidy

* fix coverpkg

* fix typo, update jenkins build script from job

* leaving coverpkg out for now

* readme reset

* readme and build instructions

* initial PR-Jenkinsfile

* dummy to trigger jenkins

* Delete DUMMY

* add checkout

* no ee build for now

* move checkout after go setup

* split scm checkout 1 and 2

* fix vet fmt

* fix gocov

* fix gocov sh command

* fix git status wrapper

* fix git status wrapper, #2

* fix gotools vs gopath

* go plugin bare minimum

* go plugin bare minimum, #2

* go plugin bare minimum, #3

* go plugin bare minimum, #5

* go plugin bare minimum, #6

* revert go plugin

* removed bootstrap

* removed global 111 module off

* add platform builds

* try to cleanup pre scm

* remove mv

* remove EE for now

* add checks

* go tools install vs get

* remove GOPATH, GOTOOLS

* add tests

* fix GOPATH #1

* add benchmarks and post

* force git ssh for go-fleecedelta

* removed commented out gopath and gotools

* add git ssh config, cleanup comments

* minor changes and cleanup before PR

* update license to BSL 1.1, PR feedback

* ci yaml go version and remove cache

* sync files from upstream

* initial ec2 jenkinsfile sync

* remove cache and go version, p2

CBG-1851: go get within sshagent

CBG-1851: go mod download vs get

CBG-1851: checks and tests

CBG-1851: test no gopath

CBG-1851: remove cbbruno, fix gocov

CBG-1851: remove comments, .old files

CBG-1851: initial manifest for testing

CBG-1851: remove old default manifest

CBG-1851: remove test branch and build repo

CBG-1851: commented out local exports

CBG-1851: removed test revision from manifest
cbbruno added a commit that referenced this issue Feb 17, 2022
* initial commit, go get and test working

* fix goutils dependency

* delete pkg, mod tidy

* basic ci

* minor ci yml changes

* badge change

* revamp of build.sh

* ci os matrix, race, shell scripts

* removing windows for now

* rework of ci yml

* test go private

* build ce as before

* rename build job, test pkgs

* fix gofmt

* fix gofmt, #2

* add jenkins build script

* initial jenkins build script

* fix double PATH, remove SG_COMMIT

* redo mod tidy

* fix coverpkg

* fix typo, update jenkins build script from job

* leaving coverpkg out for now

* readme reset

* readme and build instructions

* initial PR-Jenkinsfile

* dummy to trigger jenkins

* Delete DUMMY

* add checkout

* no ee build for now

* move checkout after go setup

* split scm checkout 1 and 2

* fix vet fmt

* fix gocov

* fix gocov sh command

* fix git status wrapper

* fix git status wrapper, #2

* fix gotools vs gopath

* go plugin bare minimum

* go plugin bare minimum, #2

* go plugin bare minimum, #3

* go plugin bare minimum, #5

* go plugin bare minimum, #6

* revert go plugin

* removed bootstrap

* removed global 111 module off

* add platform builds

* try to cleanup pre scm

* remove mv

* remove EE for now

* add checks

* go tools install vs get

* remove GOPATH, GOTOOLS

* add tests

* fix GOPATH #1

* add benchmarks and post

* force git ssh for go-fleecedelta

* removed commented out gopath and gotools

* add git ssh config, cleanup comments

* minor changes and cleanup before PR

* update license to BSL 1.1, PR feedback

* ci yaml go version and remove cache

* sync files from upstream

* initial ec2 jenkinsfile sync

* remove cache and go version, p2

CBG-1851: go get within sshagent

CBG-1851: go mod download vs get

CBG-1851: checks and tests

CBG-1851: test no gopath

CBG-1851: remove cbbruno, fix gocov

CBG-1851: remove comments, .old files

CBG-1851: initial manifest for testing

CBG-1851: remove old default manifest

CBG-1851: remove test branch and build repo

CBG-1851: commented out local exports

CBG-1851: removed test revision from manifest
cbbruno added a commit that referenced this issue Feb 18, 2022
* CBG-1851: Switch builds to use Go Modules (#5430)

* initial commit, go get and test working

* fix goutils dependency

* delete pkg, mod tidy

* basic ci

* minor ci yml changes

* badge change

* revamp of build.sh

* ci os matrix, race, shell scripts

* removing windows for now

* rework of ci yml

* test go private

* build ce as before

* rename build job, test pkgs

* fix gofmt

* fix gofmt, #2

* add jenkins build script

* initial jenkins build script

* fix double PATH, remove SG_COMMIT

* redo mod tidy

* fix coverpkg

* fix typo, update jenkins build script from job

* leaving coverpkg out for now

* readme reset

* readme and build instructions

* initial PR-Jenkinsfile

* dummy to trigger jenkins

* Delete DUMMY

* add checkout

* no ee build for now

* move checkout after go setup

* split scm checkout 1 and 2

* fix vet fmt

* fix gocov

* fix gocov sh command

* fix git status wrapper

* fix git status wrapper, #2

* fix gotools vs gopath

* go plugin bare minimum

* go plugin bare minimum, #2

* go plugin bare minimum, #3

* go plugin bare minimum, #5

* go plugin bare minimum, #6

* revert go plugin

* removed bootstrap

* removed global 111 module off

* add platform builds

* try to cleanup pre scm

* remove mv

* remove EE for now

* add checks

* go tools install vs get

* remove GOPATH, GOTOOLS

* add tests

* fix GOPATH #1

* add benchmarks and post

* force git ssh for go-fleecedelta

* removed commented out gopath and gotools

* add git ssh config, cleanup comments

* minor changes and cleanup before PR

* update license to BSL 1.1, PR feedback

* ci yaml go version and remove cache

* sync files from upstream

* initial ec2 jenkinsfile sync

* remove cache and go version, p2

CBG-1851: go get within sshagent

CBG-1851: go mod download vs get

CBG-1851: checks and tests

CBG-1851: test no gopath

CBG-1851: remove cbbruno, fix gocov

CBG-1851: remove comments, .old files

CBG-1851: initial manifest for testing

CBG-1851: remove old default manifest

CBG-1851: remove test branch and build repo

CBG-1851: commented out local exports

CBG-1851: removed test revision from manifest

* CBG-1851: update go-blip

* CBG-1851: fix rebase, mv checkout

* CBG-1851: PR feedback, p1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants