-
-
Notifications
You must be signed in to change notification settings - Fork 594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning: gap of negative duration #239
Comments
@ErikBjare I have seen this lots of times aswell (on almost all query requests). |
@johan-bjareholt This occurs when events overlap. We would have to investigate which watcher is causing it. |
Also encountering this issue. |
I'm getting the same type of messages:
It would be really nice if it told me which watcher these events were coming from. |
I can reproduce this error, when I try to change the default "Categorization" rules. As soon I change something there and save it, I get error 400 in the activity tab of the dashboard and find the "Gap was of negative duration" errors in the server log. When changing categorization rules back to default, the error is gone. Version used: 0.8.3. @ Windows 10 |
I am also getting these errors. My best guess is that the watchers cache the events while either the server is offline, or if the watchers were stopped then started, and the events they are trying to publish to the server are not matching the time stamp of the server. Which may explain the negative time The warning messages go longer based on how long the server has not received communication from watchers or the watchers have not communicated with the server. I am not sure how the time is kept on the server and how the watchers track time but it is likely due to the mismatch of timing. |
A good hypothesis, but it's not possible as event timestamps are saved before they are potentially queued up to be sent to the server so that cannot be the issue. The servers clock is always irrelevant. It would be pretty easy to find which bucket makes this issue is we just do a query with a flood transform to each one of them, I might try this later. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I have the same issue. However, I think I know exactly what caused it in my case (probably very different from the others): I had to test the behavior of some app when the system date changes, so I was manually changing my system's date and time going back and forth into the future and the past. Not sure if this is helpful to you or not though 😅 . |
What's the latest with this? It's been open for nearly 6 years and I still get these messages.
and many more besides. |
Not sure what this means, but it floods the logs when running aw-server:
The text was updated successfully, but these errors were encountered: