# V1.0.7 - Inconsistent query results between dgraph servers in same group

**URL:** https://discuss.dgraph.io/t/v1-0-7-inconsistent-query-results-between-dgraph-servers-in-same-group/2946
**Category:** Dgraph
**Created:** [July 25, 2018, 11:58pm UTC](https://discuss.dgraph.io/t/v1-0-7-inconsistent-query-results-between-dgraph-servers-in-same-group/2946 "2018-07-25T23:58:05Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![coolguru](https://avatars.discourse-cdn.com/v4/letter/c/7cd45c/32.png) [@coolguru](https://discuss.dgraph.io/u/coolguru)
#### Post date: [July 25, 2018, 11:58pm UTC](https://discuss.dgraph.io/t/v1-0-7-inconsistent-query-results-between-dgraph-servers-in-same-group/2946/1 "2018-07-25T23:58:05Z")

</div>

We’re seeing inconsistent results being returned for the same query from all dgraph server in a particular group. We’re using [K8s HA](https://github.com/dgraph-io/dgraph/blob/master/contrib/config/kubernetes/dgraph-ha.yaml) for our setup on AWS.

Issue went away when we rebooted all 3 dgraph server pods (in a particular group) separately. Let us know what other information would be helpful to debug this issue. Thanks!

---

<div class="post-metadata">

### Author: ![mrjn](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/mrjn/32/775_2.png) [@mrjn](https://discuss.dgraph.io/u/mrjn)
#### Post date: [July 26, 2018, 12:37am UTC](https://discuss.dgraph.io/t/v1-0-7-inconsistent-query-results-between-dgraph-servers-in-same-group/2946/2 "2018-07-26T00:37:43Z")

</div>

Can you try without k8s and run Dgraph directly on host, so we know that this is not a k8s config issue?

---

<div class="post-metadata">

### Author: ![coolguru](https://avatars.discourse-cdn.com/v4/letter/c/7cd45c/32.png) [@coolguru](https://discuss.dgraph.io/u/coolguru)
#### Post date: [July 26, 2018, 5:20pm UTC](https://discuss.dgraph.io/t/v1-0-7-inconsistent-query-results-between-dgraph-servers-in-same-group/2946/3 "2018-07-26T17:20:27Z")

</div>

Do you guys have a cloudformation template for HA dgraph setup? That will make it easy to deploy to AWS.

Thanks!

---

<div class="post-metadata">

### Author: ![MichelDiz](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/micheldiz/32/11873_2.png) [@MichelDiz](https://discuss.dgraph.io/u/MichelDiz)
#### Post date: [July 26, 2018, 6:30pm UTC](https://discuss.dgraph.io/t/v1-0-7-inconsistent-query-results-between-dgraph-servers-in-same-group/2946/4 "2018-07-26T18:30:54Z")

</div>

this one serves? [https://docs.dgraph.io/deploy#multi-host-setup](https://docs.dgraph.io/deploy#multi-host-setup)

[https://docs.dgraph.io/deploy#run-using-docker-compose-on-single-aws-instance](https://docs.dgraph.io/deploy#run-using-docker-compose-on-single-aws-instance)

---

<div class="post-metadata">

### Author: ![mrjn](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/mrjn/32/775_2.png) [@mrjn](https://discuss.dgraph.io/u/mrjn)
#### Post date: [July 26, 2018, 8:44pm UTC](https://discuss.dgraph.io/t/v1-0-7-inconsistent-query-results-between-dgraph-servers-in-same-group/2946/5 "2018-07-26T20:44:47Z")

</div>

@coolguru: Can you put together steps to reproduce this, and file a Github issue? I’ll look into it.

---

<div class="post-metadata">

### Author: ![coolguru](https://avatars.discourse-cdn.com/v4/letter/c/7cd45c/32.png) [@coolguru](https://discuss.dgraph.io/u/coolguru)
#### Post date: [July 26, 2018, 11:16pm UTC](https://discuss.dgraph.io/t/v1-0-7-inconsistent-query-results-between-dgraph-servers-in-same-group/2946/6 "2018-07-26T23:16:47Z")

</div>

@mrjn [Inconsistent query results between dgraph servers in same group · Issue #2503 · dgraph-io/dgraph · GitHub](https://github.com/dgraph-io/dgraph/issues/2503) Please let me know if more info is needed. thanks again!

---

<div class="post-metadata">

### Author: ![coolguru](https://avatars.discourse-cdn.com/v4/letter/c/7cd45c/32.png) [@coolguru](https://discuss.dgraph.io/u/coolguru)
#### Post date: [August 1, 2018, 3:33am UTC](https://discuss.dgraph.io/t/v1-0-7-inconsistent-query-results-between-dgraph-servers-in-same-group/2946/7 "2018-08-01T03:33:01Z")

</div>

@mrjn wondering if you were able to repro the issue. Please let me know if there is anything I can do to help out, thanks!

---

<div class="post-metadata">

### Author: ![mrjn](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/mrjn/32/775_2.png) [@mrjn](https://discuss.dgraph.io/u/mrjn)
#### Post date: [August 2, 2018, 11:31am UTC](https://discuss.dgraph.io/t/v1-0-7-inconsistent-query-results-between-dgraph-servers-in-same-group/2946/8 "2018-08-02T11:31:30Z")

</div>

I’m out on vacation. Will be back next week and look into this.

---

<div class="post-metadata">

### Author: ![mrjn](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/mrjn/32/775_2.png) [@mrjn](https://discuss.dgraph.io/u/mrjn)
#### Post date: [August 2, 2018, 11:33am UTC](https://discuss.dgraph.io/t/v1-0-7-inconsistent-query-results-between-dgraph-servers-in-same-group/2946/9 "2018-08-02T11:33:19Z")

</div>

Btw, could you try with v1.0.4-rc4? Someone else in another topic said they didn’t see the inconsistency with that version.

---

<div class="post-metadata">

### Author: ![coolguru](https://avatars.discourse-cdn.com/v4/letter/c/7cd45c/32.png) [@coolguru](https://discuss.dgraph.io/u/coolguru)
#### Post date: [August 6, 2018, 5:10pm UTC](https://discuss.dgraph.io/t/v1-0-7-inconsistent-query-results-between-dgraph-servers-in-same-group/2946/10 "2018-08-06T17:10:33Z")

</div>

Come on Manish, stop slacking off dude! You’ve a bigger responsibility here! Just kidding…I appreciate you taking time during your vacation to respond to this thread. I’ll try out rc4 and update back.

---

<div class="post-metadata">

### Author: ![paulftw](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/paulftw/32/1569_2.png) [@paulftw](https://discuss.dgraph.io/u/paulftw)
#### Post date: [August 10, 2018, 7:59am UTC](https://discuss.dgraph.io/t/v1-0-7-inconsistent-query-results-between-dgraph-servers-in-same-group/2946/11 "2018-08-10T07:59:14Z")

</div>

I saw something similar and increasing RAM/CPU allocation seemed to improve things a lot in that case.  
I can see you are already using m5.xlarge, but depending on your use case and budget it may be worth a try
