Replication stuck in busy state with test_multiple_cbls_updates_concurrently_with_push
See original GitHub issueBuilds
.net 2.0.0-b0571, SG 2.0.0-812, CBS 5.5.0-1924
Test Ran
pytest -s --mode=di --server-version=5.5.0-1924 --sync-gateway-version=2.0.0-812 --liteserv-platform=net-msft --liteserv-host=192.168.33.21 --liteserv-port=55555 --xattrs testsuites/CBLTester/CBL_Functional_tests/test_no_conflicts_cbl.py --liteserv-version=2.0.0-b0571 -k test_multiple_cbls_updates_concurrently_with_push --create-db-per-test test-db --skip-provisioning
Actual
The test times out waiting for replicator to go idle. Test output
....
Activity level: busy
Got response:
Got response: "busy"
Activity level: busy
FAILED
.....
> replicator2.wait_until_replicator_idle(repl)
.....
E Failed: Timeout >900s
CBL logs
INFO) Sync {DBWorker#10} Saved local checkpoint cp-42vjx9lioMn1AspGRraDwa9UphU= to db
INFO) Sync (Replicator) [13] 2018-02-27T13:53:37.7792737-08:00 Replicator[<*> DB[C:\mobile-testkit\CBLClient\Apps\CBLTestServer-Dotnet\TestServer.NetCore\bin\Debug\netcoreapp2.0\CouchbaseLite\cbl_db21519768338.06.cblite2\]] is Busy, progress 840570/859654
INFO) Sync (Replicator) [12] 2018-02-27T13:53:37.7870335-08:00 Replicator[<*> DB[C:\mobile-testkit\CBLClient\Apps\CBLTestServer-Dotnet\TestServer.NetCore\bin\Debug\netcoreapp2.0\CouchbaseLite\cbl_db21519768338.06.cblite2\]] is Busy, progress 840570/859654
The replicator is stuck in busy state and there is no activity.
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Replication stuck in busy state with ...
The stuck-busy state is usually caused by one of the Workers (Replicator, Pusher, Puller, etc.) getting mixed up in its count of things...
Read more >Replicator in Android get stuck at busy state when it goes ...
When the Couchbase lite replicator stuck in busy state, I found that after 5 minutes, with a message “connection reset by pair”, ...
Read more >Replicator in Android get stuck at busy state when it goes ...
Running into this stuck BUSY state myself. I'm testing replication recovery after network outage and it doesn't get unstuck, even after network ...
Read more >Postgresql 11 logical replication - stuck in `catchup` state
The problem seems to be on the master server, which closes the connections unexpectedly.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I just wrote a wiki doc on how to debug these kinds of bugs.
This issue was moved to couchbase/couchbase-lite-core#446