Panic importing back exported data: interface conversion: interface {} is *int64, not int64 #4889
Labels
area/live-loader
Issues related to live loading.
status/accepted
We accept to investigate/work on it.
What version of Dgraph are you using?
docker v2.0.0-beta
Have you tried reproducing the issue with the latest release?
Yes, tried with docker-master
What is the hardware spec (RAM, OS)?
I'm running dgraph in my laptop (Ubuntu 18.04 with 8GB RAM)
Steps to reproduce the issue (command/config used to run Dgraph).
I've exported the data using the
/admin/export
endpoint and I can't import it back using the live loader. For simplicity, create the following files with their contents:float.rdf
integer.rdf
data.schema
Now run
dgraph live -s data.schema -f integer.rdf
anddgraph live -s data.schema -f float.rdf
Expected behaviour and actual result.
The exported data should be re-importable. However I get the following crash traces:
For what it's worth, #4468 looks very similar. My gut feeling tells me that the fix was not complete and is now causing the same issue for other types. I can't reproduce this issue in v1.2.1.
The text was updated successfully, but these errors were encountered: