If I have lot of docs to sync, how to know if all the docs are sync in couchlite against server? or if not synced, anyway to find out how many docs still need sync and what size so I can give an estimate to user?
@zheng.gong , where do you want to know that items are synced on Couchbase Lite side(App side) or Sync Gateway/Couchbase? I’m guess you want CBL side.
The docs are synced when the push replicator’s status goes to either Idle or Stopped, with lastError nil.
To see the progress, look at the changesCount and completedChangesCount.