Skip to content

Master crashes upon getting error from DGraph #555

@marcomicera

Description

@marcomicera

During the build phase of bytedeco/javacv, qmstr-master crashes while attempting to retrieve a FileNode using a non-existing hash.

Reading configuration from /home/qmstr/config/config.yaml
Setting up database connection
qmstr-master listening on localhost:50051
Opened insert queue
Waiting for inserts
Pending inserts 1
Closed insert queue
Switching to phase 1
Opened insert queue
Switched to phase Build
Adding file node ../../../mnt/fasten/repos/o/org.bytedeco:javacv/javacv/target/classes/org/bytedeco/javacv/FFmpegLockCallback.class with hash:dba8fd46357f793cbf2ff0438e408fb05ecb3807
Adding file node ../../../mnt/fasten/repos/o/org.bytedeco:javacv/javacv/target/classes/org/bytedeco/javacv/FFmpegLockCallback$1.class with hash:aad5c702e7713c45103fa6d6c660982ac8e394c7
checkFileData failed: Could not query for node with:

query FileData($Hash: string){
        hasFileData(func: eq(hash, $Hash)){
            uid
        }}

Vars:

map[$Hash:17a5a09a1e300216368069192d43e1d735f6b705]

Error: rpc error: code = Unknown desc = : Got error: Schema not defined for predicate: hash. while running: name:"eq" args:"17a5a09a1e300216368069192d43e1d735f6b705"

The client keeps does not crash and keeps building.

DGraph content

Note that hash 17a5a09a1e300216368069192d43e1d735f6b705 is not present.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions