diggy
(Dgraph Bot)
May 15, 2019, 8:17pm
1
Moved from GitHub ratel/86
Posted by dmitryyankowski :
If you suspect this could be a bug, follow the template.
What version of Dgraph are you using?
v1.0.14
Have you tried reproducing the issue with latest release?
Yes (Not with v1.0.15 though)
What is the hardware spec (RAM, OS)?
24GB of RAM and Windows 10
Steps to reproduce the issue (command/config used to run Dgraph).
Download the binaries you need for Windows
Run dgraph zero
in 1 cmd window.
Run dgraph alpha --lru_mb 2048 --zero localhost:5080
in a 2nd cmd window.
Run dgraph-ratel
in a 3rd cmd window.
Go to http://localhost:8000 and add a dgraph schema + add data.
Run any query (it should run perfect, and ts.start_ts
should go up by 1 every time)
Ctrl-C ratel running in the 3rd cmd.
Run dgraph-ratel
again in the same cmd.
Run the query again… and you should see the start_ts
going up by more than 1 . (There are multiple queries starting now… idk why)
Expected behaviour and actual result.
start_ts
should only go up by 1 every time you run a query. It’s going up by 3 or 4 now for me each time I run a query in my local ratel instance.
diggy
(Dgraph Bot)
May 15, 2019, 8:29pm
2
dmitryyankowski commented :
Seems like closing Ratel in the cmd window doesn’t actually stop the instance of Ratel? I can still go to http://localhost:8000/?latest or http://localhost:8000/?dev after its closed (back and forth).
diggy
(Dgraph Bot)
May 15, 2019, 9:38pm
3
dmitryyankowski commented :
Can confirm this is also an issue on Linux too. Now it’s running 6 queries every single time I click run
diggy
(Dgraph Bot)
May 15, 2019, 10:18pm
4
dmitryyankowski commented :
You can also go to Dgraph Ratel Dashboard
Everytime you run a query the start_ts
goes up by 3 (Should only go up by 1)
diggy
(Dgraph Bot)
May 16, 2019, 1:03am
5
danielmai commented :
I see this issue as well. It’s not good that Ratel runs the same query multiple times after clicking th e Run button once.
diggy
(Dgraph Bot)
May 16, 2019, 7:51pm
6
dmitryyankowski commented :
Hope this can be fixed soon It’s hard to debug stuff with tons of queries being fired at the same time.
diggy
(Dgraph Bot)
May 25, 2019, 12:42am
7
dmitryyankowski commented :
Any updates to this?? @paulftw @danielmai
diggy
(Dgraph Bot)
May 25, 2019, 1:24am
8
danielmai commented :
We’re working on some code refactoring that would ultimately lead to this issue getting fixed. @paulftw is working on it.
diggy
(Dgraph Bot)
May 25, 2019, 1:46am
9
dmitryyankowski commented :
Thanks for the update @danielmai
diggy
(Dgraph Bot)
July 9, 2019, 4:11pm
10
paulftw commented :
Fixed in master and live in the ?dev
version
diggy
(Dgraph Bot)
July 10, 2019, 1:28am
11
dmitryyankowski commented :
@paulftw any ideas to when this will be merged into master? The bug still is still on ?dev