Hi all,
we’re experiencing the issue that documents are not synced to couchbase lite (using the Flutter cbl package Version 3.1.1 and tested with 3.1.0, cbl | Dart Package)
Sync on cb lite is stuck on “busy state”, but sync gateway throws no errors.
All data is accessible using sync gateway RETS API or changes feed.
We have found that restarting sync gateway while cb lite doesn’t have all documents will sync all documents. If cb lite replicator is then restarted, it once again gets stuck on 0%.
Here are the sync gateway and cb lite debug logs:
logs.zip (31.8 KB)
File sgw_logs_working_after_restart.log shows the sync gateway logs.
At 2023-08-07T16:06:39.616+02:00 we have restarted the sync gateway and afterwards the documents were correctly synced (once, after restarting cb lite it was back to being stuck on busy).
sg_err.log and sg_warn.log are both empty during that time.
Timestamps in mobile log are timezone -02:00.
We have upgraded sync gateway 3.1.1, config is the same as described here Http: panic serving <IP>: runtime error: invalid memory address or nil pointer dereference after sync gateway upgrade to 3.1 - #5 by fifteen_renditions
{
"ADMIN": true,
"couchdb": "Welcome",
"vendor": {
"name": "Couchbase Sync Gateway",
"version": "3.1"
},
"version": "Couchbase Sync Gateway/3.1.1(20;d26ad31) EE",
"persistent_config": true
}
I can’t reproduce the bug better right now and can’t find any information about what could be wrong.
Any help here is greatly appreciated!
14 posts - 5 participants