I am live syncing a freshly minted pouchdb (3.3.1) to an established (iris) couchdb.
The initial replication happens successfully (pause event fired).
If I do info() on the Local, I get an update_seq of 362. If I do info() on the remote, it shows an update_seq of 4201.
I think this makes sense to me: the local db has no revisions - only the leaves (i.e. there are 362 leaves in the db) whereas the remote db sequence counter reflects all the historical changes that have been made since it was first created.
My question is: how can I programatically determine what the initial 'offset' in sequence counter is between the two databases? In particular I want to be able to measure the progress of the initial replication.