ferreraa / ARAMRANK-Server

Website managing a fun ranking system for ARAM games (League of Legends)
https://all-random-all-rank.herokuapp.com/
6 stars 2 forks source link

Match has been duplicated #84

Open nyan42 opened 2 years ago

nyan42 commented 2 years ago

The same match has been counted twice in different timezone ( + it is a different time format ) Player name : Viclekiller Match ID : 5863637560 Before having this bug, I got an internal error from the server, and had to reload the site.

Thank you for your investigation.

image

ferreraa commented 2 years ago

Thank you for your message.

This is a known bug due to a concurrency call to the DB.

I will try to find some time to fix it.

Don't worry too much about your score as the LP gain or loss is still counted once, the bug only affects the history.

The format of dates and time becomes buggy in this case because the games share the same ID and thus are conflicted

You have a different score because of a random parameter (it's Aram so there's gotta be some randomness at some point ;))