Possible to add corrupted data to DB which crash the server when trying to query it #3740
Labels
area/crash
Dgraph issues that cause an operation to fail, or the whole server to crash.
area/data-loss
Issues related to loss of data.
kind/bug
Something is broken.
priority/P0
Critical issue that requires immediate attention.
status/accepted
We accept to investigate/work on it.
status/needs-attention
This issue needs more eyes on it, more investigation might be required before accepting/rejecting it
If you suspect this could be a bug, follow the template.
Dgraph version : v1.0.16
Commit SHA-1 : 0590ee9
Commit timestamp : 2019-07-11 11:52:54 -0700
Branch : HEAD
Go version : go1.12.5
should be latest
macOS
I tried to figure out how to use the
geo
type. The API takes either a Base64 string or aUInt8Array
. I wasn't sure how to encode coordinate in that, so I triedThe mutation succeeded, but when I then queried for the UID, the server crashed with
This seems like it should not happen, the server should validate data before inserting so that corrupted data cannot crash the server.
The text was updated successfully, but these errors were encountered: