When I use dgraph live loader, error appears, can anyone help me? thanks!
I search this forum, but I can’t find any useful solution…
COMMAND:
dgraph live -r example.rdf -s example_schema
ERROR:
Processing example.rdf
Error while mutating Uid: [7766484892885944148] cannot be greater than lease: [20000]
Error while mutating Uid: [7766484892885944148] cannot be greater than lease: [20000]
Error while mutating Uid: [7766484892885944148] cannot be greater than lease: [20000]
Error while mutating Uid: [7766484892885944148] cannot be greater than lease: [20000]
Error while mutating Uid: [7766484892885944148] cannot be greater than lease: [20000]
Error while mutating Uid: [7766484892885944148] cannot be greater than lease: [20000]
Error while mutating Uid: [7766484892885944148] cannot be greater than lease: [20000]
Error while mutating Uid: [7766484892885944148] cannot be greater than lease: [20000]
Error while mutating Uid: [7766484892885944148] cannot be greater than lease: [20000]
Error while mutating Uid: [7766484892885944148] cannot be greater than lease: [20000]
I retried with bland nodes. And I found that dgraph take the same blank node in multiple RDFs are different nodes, which is not my expectation. Could you please help me with this? Thanks!
command1: dgraph live -r demo1.rdf -s demo.schema
command2: dgraph live -r demo2.rdf
both demo1.rdf and demo2.rdf have the same blank node “_:alice”, but dgraph take it as TWO nodes!!!
Blank nodes are not unique across RDF files, so they are each assigned as two uids.
If you want to use UIDs across RDFs, then you’ll need to use UID literals like you had earlier.
You can increase the timestamp leases yourself by using the Zero HTTP endpoint /assignIds?num=100 to get a range of UIDs that you can use in your RDFs. For example, if you start a Zero and then call /assignIds?num=100: