Support Batch Upserts in Live Loader

larvinloy commented :

@hackintoshrao We’ve got 60 batches of ~150 mil triples. Each batch usually corresponds to a month’s worth of data and up-to a 1/5th of the nodes could already exist in the graph.

@MichelDiz We’ve looked into using literal numbers but that does not work for us either. The idea was to somehow hash our id to a uint64, but that would require us to lease out all the possible uids from DGraph. I tried hitting the lease endpoint with a really large number, but it still leases out only a small number, somewhere around 300k in my case.