Closed jjrodrig closed 5 years ago
Hi @jjrodrig, what version of the sync-android library are you using?
Hi @emlaver, we are using 2.2.0 version of sync-android
@jjrodrig You said above: "The problem appears when the repplication process checks the existencie of the remote database by requesting the db informaton." Could you please share your code where the exception is raised?
The error appears parsing the response of GET <remote-host>/database
We just have a push and pull replication configured.
I 'm testing minor change on sync-android that changes the type of purgeSeq propery from long to String in com.cloudant.sync.internal.mazha.CouchDbInfo
It seems to not break pre-2.3 CouchDB installations, now I'm configuring a CouchDB 2.3 environment for testing.
I can open a PR with this change.
@jjrodrig I've merged your PR, thanks for your work!
Please read these guidelines before opening an issue.
Bug Description
After upgrading server to CouchDB 2.3 the synchronization is failling with the following exception:
CouchDB 2.3 has changed the purge_seq attribute from long to string which is a breaking change for Cloudant Sync.
Te problem appears when the repplication process checks the existencie of the remote database by requesting the db informaton.
1. Steps to reproduce and the simplest code sample possible to demonstrate the issue
Perform a replication with a CouchDB 2.3 server
2. What you expected to happen
Synchronize without exceptions
3. What actually happened
The shyncronization is stopped
Environment details
CouchDB 2.3 on the server