loftar wrote:On another note, I'll take this opportunity to make a full backup before restarting the server. Expect it to take about half an hour.
loftar wrote:As for auto-restart, this has been covered previously, but I'll explain it again. The reason I can't auto-restart in general is because the crashed server needs to be properly shut down in order for everything to be saved at an atomic point. If that is not properly done, there will be a rollback, and the server cannot "typically" be automatically shut down. In many cases it would work, since many bugs are simple and can just be shut down from, but some other bugs are not so simple and require manual intervention to repair corrupted data structures, or occur in a function that needs to be properly recovered from for various reasons (unless, for instance, only half-death is applied to a character, or whatnot), and detection of those cases cannot really be automated. I need to look at the bug before shutting it down, and failure to do so could very possibly result in permanent corruption to the world if shutdown is just done haphazardly. Also, this present bug is of that nature that typically requires manual repairs of some data structures.
On another note, I'll take this opportunity to make a full backup before restarting the server. Expect it to take about half an hour.
loftar wrote:
On another note, I'll take this opportunity to make a full backup before restarting the server. Expect it to take about half an hour.
loftar wrote:As for auto-restart, this has been covered previously, but I'll explain it again. The reason I can't auto-restart in general is because the crashed server needs to be properly shut down in order for everything to be saved at an atomic point. If that is not properly done, there will be a rollback, and the server cannot "typically" be automatically shut down. In many cases it would work, since many bugs are simple and can just be shut down from, but some other bugs are not so simple and require manual intervention to repair corrupted data structures, or occur in a function that needs to be properly recovered from for various reasons (unless, for instance, only half-death is applied to a character, or whatnot), and detection of those cases cannot really be automated. I need to look at the bug before shutting it down, and failure to do so could very possibly result in permanent corruption to the world if shutdown is done haphazardly. Also, this present bug is of that nature that typically requires manual repairs of some data structures.
On another note, I'll take this opportunity to make a full backup before restarting the server. Expect it to take about half an hour.
Myzreal wrote:What the fuck are you people saying about an auto-restarter corrupting things? It won't if it's properly implemented. I have created auto-revive systems for large distributed computing systems that run in the cloud networks from both Amazon Web Services and Google Cloud (not had the pleasure of working with Microsoft Azure yet) where there are a thousand times more things that can go wrong and the consequences are much more dire (banking systems) and yet you sit here, claiming that an auto-restarting feature for a game that has maybe 5 modules (I actually doubt it has any modules on server side, I suspect it's a monolith architecture, judging by the sloppy client code) with all the modern databasing systems and the backing up systems they provide is "not doable" or can "corrupt things"? Bitches, please.
@Loftar
You might want to look at Amazon Web Services' Glacier service. It's an extremely slow but also extremely cheap storage. It takes several hours to read a single GB from it but it also costs something around $0.02 per GB. It's perfect for storing automated backups of a database so you can at least ensure that if something "crashes and burns" you have backup twice a day. I don't know how the server side is done but if it's not backed by a modern database, then you might want to step up the technology to get along with the modern times.
Users browsing this forum: Claude [Bot] and 0 guests