Processing problem
Posted: Thu Nov 03, 2022 3:04 pm
I'm just curious about the status of the site issue. I assume someone is aware and working on it. Is there any ETA on when it will be running again?
https://www.webdiplomacy.net/contrib/phpBB3/
https://www.webdiplomacy.net/contrib/phpBB3/viewtopic.php?f=17&t=4384
Kestas, the message that appears at the top of the homepage when there is a processing error promises that "extra time will be added to games to compensate".kestasjk wrote: ↑Fri Nov 04, 2022 11:59 amI guess I can see how if I added a day of delay to all games that would give people time to prepare that in a day processing would resume. Are you saying it would be better if I had added time to all games just so people can see when the next process time is coming?
I've added however much time the site was down for, a min of 12 hours, and a maximum of 2 days. Never add more than 12 hours at a time in the mod control panel or it will pause every game with a longer length of time, just add 12 hours 2+ times as needed. Then run the 2 other mod tools needed to prevent games from ended up crashed, and then restart processing.kestasjk wrote: ↑Fri Nov 04, 2022 11:57 amI did think about that, but I’m not sure how to make a rule like that; if games hadn’t been processed for days players have had days to enter orders, then when games continue processing presumably after that long everyone has entered orders.
What I’d expect causes people to get booted is that fast cycle games continue and then on the next cycle people get booted, but I can’t think how we would resync people who are on fast cycle games after days of downtime. I’m open to suggestions, although this shouldn’t happen at all and I’ll be putting a lot of effort into finding out what happened and how we’ll keep it from repeating
Then you need to amend the message that the site displays at the top of the page, when such an incident occurs. Currently, that message says that time will be added to games to compensate, and you've confirmed you don't always do that - so the banner message is very misleading.kestasjk wrote: ↑Mon Nov 07, 2022 8:25 am@jamiet The idea is that if the site experiences downtime time will be added to compensate for the down time, but in this case I thought processing had paused but the site had been up the whole time.
If the site hasn't been processing for two days but people can enter orders surely no-one would want me to add another two days on, essentially taking the time without game processing to four days.
This is the message: https://github.com/kestasjk/webDiplomac ... l.php#L686Jamiet99uk wrote: ↑Tue Nov 08, 2022 11:57 amThen you need to amend the message that the site displays at the top of the page, when such an incident occurs. Currently, that message says that time will be added to games to compensate, and you've confirmed you don't always do that - so the banner message is very misleading.kestasjk wrote: ↑Mon Nov 07, 2022 8:25 am@jamiet The idea is that if the site experiences downtime time will be added to compensate for the down time, but in this case I thought processing had paused but the site had been up the whole time.
If the site hasn't been processing for two days but people can enter orders surely no-one would want me to add another two days on, essentially taking the time without game processing to four days.
To me that means the games will be given extra time to account for the downtime when the server wasn’t available (that’s presumed to be the reason this alarm triggers; why would the last process time be a long time ago unless the server was inaccessible?).The last process time was over %s minutes ago (at %s); the server is not processing games until the cause is found and games are given extra time.
Since I was the individual to raise the question in the first place, I'll answer. I don't think, if the site is taking orders, it needs to extend games after a processing errors. I just think it needs to be consistent; in the past, after a processing error (even with orders being taken), my recollection is that extra time was added to games such that each game reverted to how much time was left at the start of the error. Or some additional amount of time such that you didn't have every stalled game process at once and boot a bunch of folks out.kestasjk wrote: ↑Tue Nov 08, 2022 3:54 pmThis is the message: https://github.com/kestasjk/webDiplomac ... l.php#L686Jamiet99uk wrote: ↑Tue Nov 08, 2022 11:57 amThen you need to amend the message that the site displays at the top of the page, when such an incident occurs. Currently, that message says that time will be added to games to compensate, and you've confirmed you don't always do that - so the banner message is very misleading.kestasjk wrote: ↑Mon Nov 07, 2022 8:25 am@jamiet The idea is that if the site experiences downtime time will be added to compensate for the down time, but in this case I thought processing had paused but the site had been up the whole time.
If the site hasn't been processing for two days but people can enter orders surely no-one would want me to add another two days on, essentially taking the time without game processing to four days.
To me that means the games will be given extra time to account for the downtime when the server wasn’t available (that’s presumed to be the reason this alarm triggers; why would the last process time be a long time ago unless the server was inaccessible?).The last process time was over %s minutes ago (at %s); the server is not processing games until the cause is found and games are given extra time.
I don’t understand why if the server hadn’t been processing games for 2 days, but it had been online doing nothing but taking orders for 2 days, why anyone would want all games to have to wait another 2 days. What does it compensate for?
Let me know if you’ve got better wording and if it’s clearer we’ll use it, or if there’s a good reason to add double the time. (Is it about short-phase games? Maybe we could do something targeting just short-phase games?)