{"action":"closed","issue":{"url":"https://api.github.com/repos/couchbaselabs/sg-replicate/issues/29","repository_url":"https://api.github.com/repos/couchbaselabs/sg-replicate","labels_url":"https://api.github.com/repos/couchbaselabs/sg-replicate/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/couchbaselabs/sg-replicate/issues/29/comments","events_url":"https://api.github.com/repos/couchbaselabs/sg-replicate/issues/29/events","html_url":"https://github.com/couchbaselabs/sg-replicate/issues/29","id":154166908,"number":29,"title":"sg-replicate not replicating _sync documents","user":{"login":"ArihantRk","id":13716346,"avatar_url":"https://avatars.githubusercontent.com/u/13716346?v=3","gravatar_id":"","url":"https://api.github.com/users/ArihantRk","html_url":"https://github.com/ArihantRk","followers_url":"https://api.github.com/users/ArihantRk/followers","following_url":"https://api.github.com/users/ArihantRk/following{/other_user}","gists_url":"https://api.github.com/users/ArihantRk/gists{/gist_id}","starred_url":"https://api.github.com/users/ArihantRk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArihantRk/subscriptions","organizations_url":"https://api.github.com/users/ArihantRk/orgs","repos_url":"https://api.github.com/users/ArihantRk/repos","events_url":"https://api.github.com/users/ArihantRk/events{/privacy}","received_events_url":"https://api.github.com/users/ArihantRk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-11T06:07:34Z","updated_at":"2016-05-11T15:32:21Z","closed_at":"2016-05-11T15:32:21Z","body":"sg-replicate is excluding _sync documents, reason might be _sync:seq will have conflicts as it is common in both syncgateway instances. but what is the significance of removing the \"_sync:user\" and \"_sync:role\" documents from replication.\r\n in this case, all user documents are not replicated.\r\n\r\nbelow are the sequence of steps are done only for replication from sync1 to sync2\r\n1. created user in sync1 and created session which are not replicated to sync2\r\n2. inserted documents in sync1 and all documents are replicated to sync2 \r\nIn this case if i want to access the documents fro sync2 , i ned to create the same user in sync2 ,session and access it.\r\nThis will be helpful if used documents are not changing..\r\n\r\nbut what if the user deleted or removed access from docs which will not replicated to sync2.\r\nFrom above setup, i can not switch to sync2 and access the documents incase of sync1 failed\r\ncan anyone explain what is the significance of excluding user documents replication.\r\n\r\n"}}