{"action":"created","issue":{"url":"https://api.github.com/repos/dgraph-io/dgraph/issues/2503","repository_url":"https://api.github.com/repos/dgraph-io/dgraph","labels_url":"https://api.github.com/repos/dgraph-io/dgraph/issues/2503/labels{/name}","comments_url":"https://api.github.com/repos/dgraph-io/dgraph/issues/2503/comments","events_url":"https://api.github.com/repos/dgraph-io/dgraph/issues/2503/events","html_url":"https://github.com/dgraph-io/dgraph/issues/2503","id":345036907,"node_id":"MDU6SXNzdWUzNDUwMzY5MDc=","number":2503,"title":"Inconsistent query results between dgraph servers in same group ","user":{"login":"coolguru","id":543930,"node_id":"MDQ6VXNlcjU0MzkzMA==","avatar_url":"https://avatars1.githubusercontent.com/u/543930?v=4","gravatar_id":"","url":"https://api.github.com/users/coolguru","html_url":"https://github.com/coolguru","followers_url":"https://api.github.com/users/coolguru/followers","following_url":"https://api.github.com/users/coolguru/following{/other_user}","gists_url":"https://api.github.com/users/coolguru/gists{/gist_id}","starred_url":"https://api.github.com/users/coolguru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coolguru/subscriptions","organizations_url":"https://api.github.com/users/coolguru/orgs","repos_url":"https://api.github.com/users/coolguru/repos","events_url":"https://api.github.com/users/coolguru/events{/privacy}","received_events_url":"https://api.github.com/users/coolguru/received_events","type":"User","site_admin":false},"labels":[{"id":575130195,"node_id":"MDU6TGFiZWw1NzUxMzAxOTU=","url":"https://api.github.com/repos/dgraph-io/dgraph/labels/question","name":"question","color":"bfd4f2","default":true}],"state":"open","locked":false,"assignee":{"login":"manishrjain","id":1782324,"node_id":"MDQ6VXNlcjE3ODIzMjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1782324?v=4","gravatar_id":"","url":"https://api.github.com/users/manishrjain","html_url":"https://github.com/manishrjain","followers_url":"https://api.github.com/users/manishrjain/followers","following_url":"https://api.github.com/users/manishrjain/following{/other_user}","gists_url":"https://api.github.com/users/manishrjain/gists{/gist_id}","starred_url":"https://api.github.com/users/manishrjain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manishrjain/subscriptions","organizations_url":"https://api.github.com/users/manishrjain/orgs","repos_url":"https://api.github.com/users/manishrjain/repos","events_url":"https://api.github.com/users/manishrjain/events{/privacy}","received_events_url":"https://api.github.com/users/manishrjain/received_events","type":"User","site_admin":false},"assignees":[{"login":"manishrjain","id":1782324,"node_id":"MDQ6VXNlcjE3ODIzMjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1782324?v=4","gravatar_id":"","url":"https://api.github.com/users/manishrjain","html_url":"https://github.com/manishrjain","followers_url":"https://api.github.com/users/manishrjain/followers","following_url":"https://api.github.com/users/manishrjain/following{/other_user}","gists_url":"https://api.github.com/users/manishrjain/gists{/gist_id}","starred_url":"https://api.github.com/users/manishrjain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manishrjain/subscriptions","organizations_url":"https://api.github.com/users/manishrjain/orgs","repos_url":"https://api.github.com/users/manishrjain/repos","events_url":"https://api.github.com/users/manishrjain/events{/privacy}","received_events_url":"https://api.github.com/users/manishrjain/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2018-07-26T23:15:25Z","updated_at":"2018-08-15T14:38:35Z","closed_at":null,"author_association":"NONE","body":"If you suspect this could be a bug, follow the template.\r\n\r\n- What version of Dgraph are you using?\r\nv1.0.7\r\n\r\n- Have you tried reproducing the issue with latest release?\r\nyes\r\n\r\n- What is the hardware spec (RAM, OS)?\r\nAWS m5.xlarge\r\n\r\n- Steps to reproduce the issue (command/config used to run Dgraph).\r\n1) Create a dgraph cluster using [k8s config](https://github.com/dgraph-io/dgraph/blob/master/contrib/config/kubernetes/dgraph-ha.yaml)\r\n2) Load movie data in this dgraph cluster\r\n3) Perform bunch of mutation for some duration (we're seeing after hours of usage to make dgraph servers out of sync state from each other)\r\n4) Perform query, count uid for a particular predicate from either of 2 groups.\r\n5) Different results are generated for the same query in our case count for uids.\r\n\r\n- Expected behaviour and actual result.\r\nExpected - Should aways return same uid counts for the same query\r\nActual - Returns different uid counts for the same query\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dgraph-io/dgraph/issues/comments/413218220","html_url":"https://github.com/dgraph-io/dgraph/issues/2503#issuecomment-413218220","issue_url":"https://api.github.com/repos/dgraph-io/dgraph/issues/2503","id":413218220,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzIxODIyMA==","user":{"login":"MichelDiz","id":6570955,"node_id":"MDQ6VXNlcjY1NzA5NTU=","avatar_url":"https://avatars1.githubusercontent.com/u/6570955?v=4","gravatar_id":"","url":"https://api.github.com/users/MichelDiz","html_url":"https://github.com/MichelDiz","followers_url":"https://api.github.com/users/MichelDiz/followers","following_url":"https://api.github.com/users/MichelDiz/following{/other_user}","gists_url":"https://api.github.com/users/MichelDiz/gists{/gist_id}","starred_url":"https://api.github.com/users/MichelDiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichelDiz/subscriptions","organizations_url":"https://api.github.com/users/MichelDiz/orgs","repos_url":"https://api.github.com/users/MichelDiz/repos","events_url":"https://api.github.com/users/MichelDiz/events{/privacy}","received_events_url":"https://api.github.com/users/MichelDiz/received_events","type":"User","site_admin":false},"created_at":"2018-08-15T14:38:35Z","updated_at":"2018-08-15T14:38:35Z","author_association":"CONTRIBUTOR","body":"I wasn't able to replicate this with latest Dgraph Tag.\r\n\r\n![captura de tela 2018-08-15 as 11 32 50](https://user-images.githubusercontent.com/6570955/44153878-b829a1cc-a07f-11e8-92a9-1d85ff27436c.png)\r\n\r\n![captura de tela 2018-08-15 as 11 33 25](https://user-images.githubusercontent.com/6570955/44153886-bc735b06-a07f-11e8-8145-d66e4c1f4da7.png)\r\n\r\n\r\nUsing this and other queries:\r\n\r\n```js\r\n{\r\n  # test(func: has(director.film), first:100){\r\n  #   uid\r\n  #   expand(_all_){expand(_all_)}\r\n  # }\r\n  total (func: has (director.film) ) {\r\n    count(uid)\r\n  }\r\n  total2 (func: has (initial_release_date) ) {\r\n    count(uid)\r\n  }\r\n}\r\n```\r\n\r\n```JSON\r\n{\r\n  \"data\": {\r\n    \"total\": [\r\n      {\r\n        \"count\": 3246\r\n      }\r\n    ],\r\n    \"total2\": [\r\n      {\r\n        \"count\": 12712\r\n      }\r\n    ]\r\n  }\r\n```\r\n\r\nCreating random mutations and repeating the same Bulk (thus creating more nodes). And yet there were no problems.\r\n\r\nClosing this issue, feel free to reopen it.\r\n\r\nCheers."}}
{"actor":{"display_login":"MichelDiz"}}