Couchbase deleting document in background

Couchbase is deleting my document in the background. I am getting:

2023-06-01 17:51:41.966902-0400 IMS-GreatPlains[29018:4220099] CouchbaseLite Database Info: Need to read rev-tree of doc ‘1006NT-16071231321’

2023-06-01 17:51:41.967005-0400 IMS-GreatPlains[29018:4220099] CouchbaseLite Database Verbose: {DB#4} KeyStore(del_default) update 1006NT-16071231321

2023-06-01 17:51:41.967086-0400 IMS-GreatPlains[29018:4220099] CouchbaseLite Database Verbose: {DB#4} SQLiteKeyStore(default) del key ‘1006NT-16071231321’ seq 287

2023-06-01 17:51:41.967172-0400 IMS-GreatPlains[29018:4220099] CouchbaseLite Database Verbose: {DB#4} KeyStore(del_default) insert 1006NT-16071231321

2023-06-01 17:51:41.967245-0400 IMS-GreatPlains[29018:4220099] CouchbaseLite Database Verbose: Saved doc ‘1006NT-16071231321’ #4-b335faccf6b9b59fef0318be745a7b3c2764e620; body=2, extra=127

2023-06-01 17:51:41.967311-0400 IMS-GreatPlains[29018:4220099] CouchbaseLite Database Verbose: {DB#4} Deleted ‘1006NT-16071231321’ rev #4-b335faccf6b9b59fef0318be745a7b3c2764e620 as seq 322

And my document is gone when I load the app

In general, CBL database alone will not save or delete anything unless the database’s saveDocument(doc) or deleteDocument(doc) is called.

Can you double check if you have any background tasks or something in dispatch queue that is doing that. There is no full log here so I don’t know if you have a replicator running that may save or delete the docs in the background or not.

What is the platform and version of CBL?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.