06-28-2020, 01:44 PM
Stage 6, day 20:
I have started to inspect the last debug logs and I have stumbled into a situation that remains so far a mystery.
It doesn't sound like a big deal as the end-result is still correct (on the surface) but I have a FSM governing the order object behavior. I'm not logging all the state transitions and signals dispatched to the FSM to not litter the logs with system aspects believed to be working. However, there is one situation. I know the initial FSM state when it happens. I know for sure some state transitions and dispatched signals. But not all possible transitions and signals are logged. All I know it that few lines below the initial state logging, the exceptional situation logged, I have an error telling me that an unexpected signal has been received in a state that the FSM is in that I cannot explain how it is possible. The signal is expected but not the state in which the order receive it is in.
I have been looking at the code through which the order can go through for the whole afternoon and I cannot explain yet what is going on. This is literally obsessing me. I have added some additional traces. I suspect that the wrong transition is quite common so I should see something during my next run to continue the investigation. The wrong transition only become apparent during the exceptional event as the signals is bit different with this event than the regular normal path.
I have started to inspect the last debug logs and I have stumbled into a situation that remains so far a mystery.
It doesn't sound like a big deal as the end-result is still correct (on the surface) but I have a FSM governing the order object behavior. I'm not logging all the state transitions and signals dispatched to the FSM to not litter the logs with system aspects believed to be working. However, there is one situation. I know the initial FSM state when it happens. I know for sure some state transitions and dispatched signals. But not all possible transitions and signals are logged. All I know it that few lines below the initial state logging, the exceptional situation logged, I have an error telling me that an unexpected signal has been received in a state that the FSM is in that I cannot explain how it is possible. The signal is expected but not the state in which the order receive it is in.
I have been looking at the code through which the order can go through for the whole afternoon and I cannot explain yet what is going on. This is literally obsessing me. I have added some additional traces. I suspect that the wrong transition is quite common so I should see something during my next run to continue the investigation. The wrong transition only become apparent during the exceptional event as the signals is bit different with this event than the regular normal path.