I’m working on an app where I’ve written some delete code (calling deleteDocument(id)). But the server seems to not actually delete the document, judging by the cbllog’s:
[DB]: c4doc_put detected server-side branch-switch: “-k0K4AEJN_hqQqO1YLwx84G” 1704-1d916c88aca9c88e6a55d0c882244a20c4c60463 to 1647-210721d78a74277246e6f8b47fce65de; making new branch main & purging old
I have a document replication listener, and after that, I get a pull notification saying that document id has changed.
(edit: I was expecting to get no notifications as I had just deleted the document).
I’m sure I’m doing something wrong. Any hints?
(I’m working on a Mac app, with the latest 2.7 Swift sdk).
Thanks,
Rob.