In our sync gateway logs I see a few 404 errors for some _local document calls. I don’t fully understand what the _local indicator means, or why our server is being called for them. The info I could find on them said they were for metadata for the local couchbase lite DB only:
404 Errors for them in the sync gateway log:
22:06:19.386904 HTTP: #131295: GET /todos/_local/36e42c5fde29274cc905bdcacb1aa015a48bbc28 (as f5cf12b4-3a0b-42ab-8dcb-55b6f19ce80c) 22:06:19.387543 HTTP: #131295: --> 404 missing (2.1 ms) 22:06:19.684164 HTTP: #131296: GET /todos/_local/a9d0406b06530f486a588af36986b26318f7ed5f (as f5cf12b4-3a0b-42ab-8dcb-55b6f19ce80c) 22:06:19.684563 HTTP: #131296: --> 404 missing (1.9 ms)
How come the couchbase lite client is querying for these documents on our server? I only see a few 404 errors for these _local queries too, but how could sync gateway be successfully returning documents that shouldn’t be on the server? Some of our users have been having syncing issues where they receive all public documents ok, but then documents for specific channels they are a part of don’t sync to them the first couple times they try. Could this be related to that issue?