Author Topic: Passengers suddenly disapear  (Read 771 times)

Dharma

  • Newbie
  • *
  • Posts: 11
  • Location: Paris, FRANCE
    • View Profile
Passengers suddenly disapear
« on: July 14, 2018, 01:37:53 pm »
On some flights always full, suddenly the occupancy rate drops to 50%-0% for a week, and then goes back to normal.

patson

  • Administrator
  • Hero Member
  • *****
  • Posts: 915
    • View Profile
Re: Passengers suddenly disapear
« Reply #1 on: July 14, 2018, 01:58:40 pm »
There is an ongoing investigation for this but it's really hard to debug as it only seems to happen on the prod environment once in a while.

My guess is that there's some concurrency issues that trigger the problem

Thanks for reporting!


patson

  • Administrator
  • Hero Member
  • *****
  • Posts: 915
    • View Profile
Re: Passengers suddenly disapear
« Reply #2 on: July 14, 2018, 02:08:34 pm »
Now i think about it...it might have something with me doing frequent update. Cause I have to stop the simulation for deployment, and it might cut some of the simulation short....just a wild guess

Dharma

  • Newbie
  • *
  • Posts: 11
  • Location: Paris, FRANCE
    • View Profile
Re: Passengers suddenly disapear
« Reply #3 on: July 14, 2018, 03:11:38 pm »
OK, thanks, keep us posted !
Btw, is there somewhere where we can find a changelog of the updates ?

patson

  • Administrator
  • Hero Member
  • *****
  • Posts: 915
    • View Profile
Re: Passengers suddenly disapear
« Reply #4 on: July 14, 2018, 03:56:57 pm »
If it's a major update i would post it in the announcement (log out and log back in, you will see that popup)

I don't have a formalized change log process yet :)
Like Like x 1 View List

Arctyc

  • Jr. Member
  • **
  • Posts: 58
    • View Profile
Re: Passengers suddenly disapear
« Reply #5 on: July 17, 2018, 07:12:52 pm »
Now i think about it...it might have something with me doing frequent update. Cause I have to stop the simulation for deployment, and it might cut some of the simulation short....just a wild guess

I've seen this happen on only 1 route, while other routes are unaffected.

Here's a screenshot of it happening to me. Maybe you can reference the week and see if you did an update at that time.


edit: Coming in with another similar instance. Not totally 0 this time but for some reason I lost 75% of first class ticket sales with no changes.
« Last Edit: July 17, 2018, 08:04:12 pm by Arctyc »

patson

  • Administrator
  • Hero Member
  • *****
  • Posts: 915
    • View Profile
Re: Passengers suddenly disapear
« Reply #6 on: July 17, 2018, 11:38:30 pm »
Thanks for all the info guys! I will look at the code and logs tonight to see if I have any clues. This is one hard bug to tackle ;(

Arctyc

  • Jr. Member
  • **
  • Posts: 58
    • View Profile
Re: Passengers suddenly disapear
« Reply #7 on: July 17, 2018, 11:41:29 pm »
It just happened again right now (week 5282) and I notice it's when you showed up lol ;) Hopefully that helps.

patson

  • Administrator
  • Hero Member
  • *****
  • Posts: 915
    • View Profile
Re: Passengers suddenly disapear
« Reply #8 on: July 18, 2018, 12:54:26 am »
awww  :-[

I will try not to show up too often then...  :'(

I am trying to run the same simulation on my home PC with some debug output...i stared at the code really hard but couldn't find any obvious clues...  :-\

Let's hope it triggers the same problem on my home PC so I can gather some info...this bug is sooooo hard as it seems to be some random

There are several useful clues tho:
1. It doesn't seem to happen to all routes on the same cycle
2. It might not go all the way down to 0% but just a huge drop




Dharma

  • Newbie
  • *
  • Posts: 11
  • Location: Paris, FRANCE
    • View Profile
Re: Passengers suddenly disapear
« Reply #9 on: July 18, 2018, 01:57:47 am »
One other clue perhaps : I think only the originating passengers are "deleted", not the connecting ones, or the opposite. Because, on the flights that are affected, the drop is always the same value.
Good luck with that !

patson

  • Administrator
  • Hero Member
  • *****
  • Posts: 915
    • View Profile
Re: Passengers suddenly disapear
« Reply #10 on: July 18, 2018, 02:36:05 am »
I managed to trigger it once, but didn't have enough details to figure out the problem

Once i added more debugging stuff, the problem stopped happening...it's getting late...im sleepy...

maybe i will try tomorrow  :'(

patson

  • Administrator
  • Hero Member
  • *****
  • Posts: 915
    • View Profile
Re: Passengers suddenly disapear
« Reply #11 on: July 18, 2018, 02:48:52 am »
I kinda changed something...that is very unlikely to fix the problem...unless there's some really weird problem with Scala (the coding language i'm using) .... Let me know if the problem still persists or if anything changed at all

patson

  • Administrator
  • Hero Member
  • *****
  • Posts: 915
    • View Profile
Re: Passengers suddenly disapear
« Reply #12 on: July 18, 2018, 02:53:36 am »
Still happening....  :'(

patson

  • Administrator
  • Hero Member
  • *****
  • Posts: 915
    • View Profile
Re: Passengers suddenly disapear
« Reply #13 on: July 19, 2018, 01:17:56 am »
OK....i think i might have found the bug...

Tried a fix...please tell me it's not happening again

Figures crossed  ;D

ImperialAirways

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Passengers suddenly disapear
« Reply #14 on: July 19, 2018, 10:28:03 am »
Well sorry to say, but it's still happening to me. :-[