DaFluffyPotato / hitbloq

a competitive beat saber service
MIT License
20 stars 4 forks source link

Add sanity checks to catch dropped MongoDB requests #41

Closed DaFluffyPotato closed 1 year ago

DaFluffyPotato commented 2 years ago

MongoDB is dropping requests without errors for some reason (caught dropping score data). Add sanity checks to score replacement code that spams inserts until the data has been found to have been inserted.

Affected leaderboard: 3ADB7906D8C63B89A62D279FB02FE0AF5E8FB9A2|_ExpertPlus_SoloStandard

Also look into a leaderboard-level score pull from ScoreSaber for fixing situations like this.

DaFluffyPotato commented 2 years ago

Added sanity checks and notifications for errors on score replacements. Still need to look into leaderboard-level score pulls.

DaFluffyPotato commented 1 year ago

Between BeatLeader and ScoreSaber, leaderboard-level pulls aren't worth implementing.