@artooro If you always plan to use the same client to upload the data, then this should work. We store the xid => uid mapping in the --xidmap directory locally on the client.
Update - There is a small issue (Xidmap in live loader is not completely pushed to badger · Issue #2006 · dgraph-io/dgraph · GitHub) because of which the above solution won’t work for now.
If you are using the Kubernetes HA setup, try http://127.0.0.1:6080/state.