Savings issue with JSON

How do you know the document wasn’t synced to the server?

Couchbase Lite doesn’t have any size limits on documents, but Couchbase Server has a limit of 20MB (encoded as JSON.) In practice, it’s probably a bad idea to shove that much data into a single document, since it will be quite slow to parse and replicate.