Hi,
I have added a shadow bucket in my couchbase server to a deal with a problem .
Below step are working fine .
- I can add/delete document on the shadow bucket on server and the changes are reflecting very fast in the main bucket and the couchbase mobile data base.
But the below case is not working -
- When a document is created or deleted on the couchbase mobile the changes are not synched or reflected in any of the bucket main or shadow.
Below is the my config file .
{
“log”:[“CRUD”, “CRUD+”, “HTTP”, “HTTP+”, “Access”, “Cache”, “Shadow”, “Shadow+”, “Changes”, “Changes+”],
“adminInterface”: “127.0.0.1:4985”,
“interface”: “0.0.0.0:4984”,
“databases”: {
“gyan”: {
“server”: “http://localhost:8091”,
“bucket”:“sync_gateway”,
“users”: {
“GUEST”: {
“disabled”: false,
“admin_channels”: ["*"]
}
},
"shadow":{
"server":"http://localhost:8091",
"bucket":"sync_gateway_shadow"
},
"sync": `function(doc) {
channel(doc.uuid);
}`,
"import_docs" : false
}
}
}
Please let me know what I am doing wrong here.
Thanks