Change Reason: An application or system component changed the time.
And then 2 seconds later I see (5) Redgate Software Events (I am monitoring 5 different databases - so assuming one event for each).
I restart the SQLMonitor service and I am logging data again - but missing the 8 hours of data forever.
Full error message:
2019-12-17 10:44:08,178 [112] ERROR RedGate.SqlMonitor.Common.Utilities.ThreadPools.ErrorReportingThreadPool [(null)] - Unhandled exception in thread pool
System.InvalidOperationException: Attempted to queue a change of state for 00:00:04.7402391 earlier than the most recent change
at RedGate.SqlMonitor.Common.Utilities.StateMachines.StateMachine`1.TryQueueChangeState(TState nextState, DateTime transitionDate)
at RedGate.SqlMonitor.Common.Utilities.StateMachines.StateMachine`1.TryChangeState(IEnumerable`1 nextStates, DateTime& transitionDate)
at RedGate.SqlMonitor.Common.Utilities.Scheduling.JobRunner.RunAndReschedule(JobRescheduleEvent jobRescheduleEvent)
at RedGate.SqlMonitor.Common.Utilities.ThreadPools.PrioritizedThreadPool.ExecuteHighestPriorityUserWorkItem(ThreadPriority originalPriority)
at RedGate.SqlMonitor.Common.Utilities.ThreadPools.ErrorReportingThreadPool.<>c__DisplayClass6_0.<QueueUserWorkItem>b__0(Object <p0>)System.InvalidOperationException: Attempted to queue a change of state for 00:00:04.7402391 earlier than the most recent change
at RedGate.SqlMonitor.Common.Utilities.StateMachines.StateMachine`1.TryQueueChangeState(TState nextState, DateTime transitionDate)
at RedGate.SqlMonitor.Common.Utilities.StateMachines.StateMachine`1.TryChangeState(IEnumerable`1 nextStates, DateTime& transitionDate)
at RedGate.SqlMonitor.Common.Utilities.Scheduling.JobRunner.RunAndReschedule(JobRescheduleEvent jobRescheduleEvent)
at RedGate.SqlMonitor.Common.Utilities.ThreadPools.PrioritizedThreadPool.ExecuteHighestPriorityUserWorkItem(ThreadPriority originalPriority)
at RedGate.SqlMonitor.Common.Utilities.ThreadPools.ErrorReportingThreadPool.<>c__DisplayClass6_0.<QueueUserWorkItem>b__0(Object <p0>)
I have seen this twice now... I log in to SQL Monitor to discover that has not been logging anything for the last 8 hours. I check the event viewer on the server running SQL Monitor and I see a Windows System Event:
The system time has changed to 2019-12-17T10:44:07.900172800Z from 2019-12-17T10:44:07.899252400Z.
And then 2 seconds later I see (5) Redgate Software Events (I am monitoring 5 different databases - so assuming one event for each).
I restart the SQLMonitor service and I am logging data again - but missing the 8 hours of data forever.
Full error message: