We have below version of couchbase server, sync gateway and couchbase lite (Android 5.1 to 8.1 compatible app ) in our environment today.
Couchbase Server CE 5.1.1
Sync Gateway 2.1.1
Couchbase Lite 2.1.0
But since we are facing lot of issues like erl.exe consuming higher memory, doc not created in bucket, data sync issue etc. we decided to upgrade the whole package. Can you suggest us which version should we upgrade to and provide the process guideline as well.