I am using couchbase-lite-ios 1.0 beta2 and sync_gateway 1.0 beta2.
I have a doc in a channel I have access right. It was marked as "_removed:true" after a sync. I checked the document on couchbase the found the document is:
{
"_sync": {
"rev": "11-ded56d6df9c7fa540f838de087453a82",
"sequence": 14640,
"history": {
"revs": [
"1-4586e3607a3e2582aeadd7db26ecd242",
"2-f22d07deb279c0c3ca7e03db15ed2bae",
"6-b713039c1e5331ba11e2d16e766339ef",
"7-6ab42187491ba3da0bf96bf41dc0174d",
"8-f77eddfefbe8ab21b895a9d460c8f76f",
"10-0d82085ad9975b591c4dba33c2e09a5a",
"11-ded56d6df9c7fa540f838de087453a82",
"3-5ae8831a20737bf83ab5dbebc7656125",
"4-7ae9b5b8596316b484a661dc4044293d",
"5-faeb8c76a96cd8b09e612f89c18adb12",
"9-3df47ba706c894beced671cabea7fbea"
],
"parents": [
-1,
0,
9,
2,
3,
10,
5,
1,
7,
8,
4
],
"bodies": [
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""
],
"channels": [
[
"aa7634fc7a46e663aad755ed94001420"
],
[
"aa7634fc7a46e663aad755ed94001420"
],
[
"aa7634fc7a46e663aad755ed94001420"
],
[
"aa7634fc7a46e663aad755ed94001420"
],
[
"aa7634fc7a46e663aad755ed94001420"
],
null,
null,
[
"aa7634fc7a46e663aad755ed94001420"
],
[
"aa7634fc7a46e663aad755ed94001420"
],
[
"aa7634fc7a46e663aad755ed94001420"
],
[
"aa7634fc7a46e663aad755ed94001420"
]
]
},
"channels": {
"aa7634fc7a46e663aad755ed94001420": {
"seq": 14640,
"rev": "11-ded56d6df9c7fa540f838de087453a82"
}
}
},
"channels": [
"aa7634fc7a46e663aad755ed94001420"
],
...
}
It looks like it's still in the channel and all the other documents in the same channel can be accessed correctly. Why this document is marked as "removed" on my client side?