Rankings are currently non-deterministic. That is, if the database is updated on the very same data two times, the ranking result may be different.
This is because player data is stored in a hashmap. Players who have the same score for some stat will thus be ordered arbitrarily each time the database is updated, which may cause medals to be distributed differently every time.
Players should get some kind of a monotonic ID that never changes and is used for a final sorting decision, e.g. the GUID.
Rankings are currently non-deterministic. That is, if the database is updated on the very same data two times, the ranking result may be different.
This is because player data is stored in a hashmap. Players who have the same score for some stat will thus be ordered arbitrarily each time the database is updated, which may cause medals to be distributed differently every time.
Players should get some kind of a monotonic ID that never changes and is used for a final sorting decision, e.g. the GUID.