-
Notifications
You must be signed in to change notification settings - Fork 135
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
bug: manually ranked (frozen status) maps revert status after some time #420
Comments
This is intended to be handled here bancho.py/app/objects/beatmap.py Lines 482 to 486 in a043f12
Might be bugged, or this logic might be missed in another place (though, I think this path should always be taken for beatmap updates iirc) |
Ah, there's no persistence of |
Made a PR for this theory ^ but I have not yet tested it |
Having the same issue here |
Might've found the problem! In short, |
I'd like to mark this as not being fixed, We at kawata are experiencing the same issue when we change a maps status from our panel. We set the status and then set frozen to 1 yet maps still revert back to original status. |
Hm that's concerning.. |
beatmap cache in bancho.py is probably taking over the database status, this whole cache shit in bpy is just annoying because it makes stuff like this terrible. i might just set out to remove some of these problematic caches, although it's probably more a case that the API should be expanded to support these update usecases so it doesn't matter... |
Describe the bug
maps manually edited in the database to have a different ranked status than what the map is currently on bancho and set to frozen, or have their status changed by !map rank map/set will be set as frozen and set to a new ranked status; will revert back to unfrozen and have their status reverted to pending after some time
this will happen regardless of what ranked status you choose
some time is undefined, could be 2 weeks or could be 2 months -- unsure of the cause and therefore i cannot give a conclusive timeframe because it happens at random apparently
To Reproduce
Expected behavior
the map should not change status while it is frozen
bancho.py Version
4.7.2
Python Version
3.9.X (Default)
Relevant log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: