Report a Dgraph Bug
When mutations are set to disallowed
, GraphQL continuously spams logs about the message:
Error reading GraphQL schema: Dgraph execution failed because no mutations allowed.
What version of Dgraph are you using?
v20.03.3
Have you tried reproducing the issue with the latest release?
not yet
What is the hardware spec (RAM, OS)?
Amazon Linux (EKS)
Steps to reproduce the issue (command/config used to run Dgraph).
Run dgraph with configuration to disallow mutations, e.g. config.hcl
mutations = "disallow"
Expected behavior and actual result.
When running dgraph alpha, I expected:
- this setting would not cause an error.
- would not get spammed with continuous non-stop messages.
- if an error occurs, with would be marked as an error, prepending with
E
What I actually got was the following non-stop (only copy/pasted 2 lines):
I0721 20:22:32.897149 17 admin.go:574] Error reading GraphQL schema: Dgraph execution failed because no mutations allowed.
I0721 20:22:37.901570 17 admin.go:574] Error reading GraphQL schema: Dgraph execution failed because no mutations allowed.