Couchbase -> PouchDB deleted document issue -
i have setup: couchbase -> sync gateway -> pouchdb.
i had document in couchbase bucket deleted (manual delete bucket) @ later point of time,
problem when sync happens on new client., other documents specific deleted document (can see doc id , other data). strange thing cannot find doc anywhere in couchbase buckets neither in _sync bucket.
i used cbft(couchbase full text search)., max gives _sync information of document.
could possible exists in rev cache , trying replicate?
any appreciated. in advance.
currently, in general, should avoid manipulating documents in couchbase server if you're using sync gateway. reason sync gateway (and couchbase lite) need meta-data syncing, versioning, , conflict resolution.
if set bucket shadowing (which deprecated), there "shadow bucket" works along normal bucket allow accessing db through cb server , sync gateway. sounds doc still in shadow bucket.
best practice run through sync gateway, , not manipulate documents directly on cb server (meaning treat cb server read-only source).
Comments
Post a Comment