We are using couchbase lite & sync gateway in version of 2.6. Due to some problems, we needed to create a new bucket in a new vm. By the way, we haven’t change the sync gw configuration file, briefly everything remained same except the ip address of the sync gateway. Of course, we released a new mobile app by including this minor change.
However, when we checked the server, we noticed that some old data replicated to our new bucket. Our mobile developer stated that actual lite database might not be cleaned up at all (AppData folder couldn’t be deleted). In brief, our database corrupted with undesired data which is belong to past.
Note: We are developing for both UWP & Android and we saw that this issue happens only in Android.