-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
kind/bugSomething is broken.Something is broken.
Description
If you suspect this could be a bug, follow the template.
-
What version of Dgraph are you using?
Dgraph version : v1.0.7
Commit SHA-1 : f180344
Commit timestamp : 2018-08-10 13:00:21 -0700
Branch : HEAD -
Have you tried reproducing the issue with latest release?
Yes -
What is the hardware spec (RAM, OS)?
macOS High Sierra 10.13.6
16 GB RAM
Docker Version 18.06.0-ce-mac70 (26399) -
Steps to reproduce the issue (command/config used to run Dgraph).
Create new Dgraph instance with--expand_edge=false. This issue only occurs when this option is used on the initial run and with a new docker volume.
docker_compose.yml:
services:
zero:
image: dgraph/dgraph:latest
volumes:
- type: volume
source: dgraph
target: /dgraph
volume:
nocopy: true
ports:
- 5080:5080
- 6080:6080
restart: on-failure
command: dgraph zero --my=zero:5080
server:
image: dgraph/dgraph:latest
volumes:
- type: volume
source: dgraph
target: /dgraph
volume:
nocopy: true
ports:
- 8080:8080
- 9080:9080
restart: on-failure
command: dgraph server --expand_edge=false --my=server:7080 --lru_mb=4096 --zero=zero:5080
ratel:
image: dgraph/dgraph:latest
volumes:
- type: volume
source: dgraph
target: /dgraph
volume:
nocopy: true
ports:
- 8000:8000
command: dgraph-ratel
volumes:
dgraph:
Create a schema:
name: string @index(term) @lang .
age: int @index(int) .
friend: uid @count .
Insert data:
{
set {
_:michael <name> "Michael" .
}
}
Result:
{
"data": {
"code": "Success",
"message": "Done",
"uids": {
"michael": "0x1"
}
},
"extensions": {
"server_latency": {
"parsing_ns": 13900,
"processing_ns": 5005700
},
"txn": {
"start_ts": 2,
"keys": [
"AAAEbmFtZQAAAAAAAAAAAQ=="
],
"lin_read": {
"ids": {
"1": 7
}
}
}
}
}
-----
COMMIT ERROR (Firefox only):
{
"errors": [
{
"code": "Error",
"message": "Transaction has been aborted. Please retry."
}
]
}
- Expected behaviour and actual result.
I expect to be able to insert data or run a /MUTATE query
All /MUTATE queries fail and are aborted.
juls858 and boldeagle3
Metadata
Metadata
Assignees
Labels
kind/bugSomething is broken.Something is broken.