Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show leaderboard scores from new data source #19126

Merged
merged 5 commits into from
Jul 15, 2022
Merged

Conversation

peppy
Copy link
Member

@peppy peppy commented Jul 15, 2022

Uses the new endpoint exposed via osu-web ppy/osu-web#9110. Mostly just-works, yay.

Please test using production for now, as the staging server isn't setup to process scores (and doesn't have any data loaded, nor is it deployed from the new branch).

Note that scores are currently re-indexing so not all scores are visible at the point of posting this. Will take around 6-8 hours for that to complete.

Also note that the indexing is currently not running in realtime. New scores will not show up immediately. There's still a couple of remaining connections to be made on production deployment to make this work (not too involved, will do this weekend).


This turns off the display of classic/legacy scores, and begins to show scores from the new "solo_scores" data source. Currently, this means that all lazer scores from the last few years will be visible, but also means that you will no longer be able to see non-lazer scores. They will eventually return when we are happy with the consistency and performance of the new storage mechanisms.

Do note that there is no guarantee that scores currently visible will remain. They may be deleted at any point. There are several concerns which are not yet addressed.

osu! 2022-07-15 at 07 28 39

peppy added 4 commits July 15, 2022 15:47
Not sure on the future of this, but given it is used in the
save-failed-reply pull request (ppy#18785) I think it's fine to add back
for now.

Without this, JSON parsing of older scores in server-side storage will
fail on missing enum type.
@pull-request-size pull-request-size bot added size/M and removed size/S labels Jul 15, 2022
Copy link
Member

@frenzibyte frenzibyte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀 – on a small note, user profile overlay will still show lazer scores with Classic mod, but I don't think it's relevant to this PR.

@peppy peppy merged commit cbbc8fd into ppy:master Jul 15, 2022
@peppy peppy deleted the lazer-leaderboards branch July 17, 2022 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants