Q: cb server haven't purge document tomb

HI @househippo,
thanks for your reply.
I already create sg user, and I validate the document must have the “channel” property.
but I dont kown why when I flush the server bucket, then sync lite local data to server bucket, how to filter those documents with empty body.
I think check the removed document logical in my sf have error.

function sync(doc,oldDoc){

if (isRemoved()) {
    return;
}
    function isRemoved() {
        return (isDelete() && oldDoc == null);
    }

if the sf detect the document is removed then return. the return will don’t sync the document?

thanks

angular