-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
The query log refreshes itself, goes back to the beginning and into the future ! #2293
Comments
Please check the "edge" channel build, this issue has been fixed there. |
Hi! The query log fix landed after that
snapshot. Please try the newly released |
Well, v0.104.1 installed (update from v0.104.0), started (without data folder), and tested : But, the negative point: The inconsistencies in the chronology still exist, not cool, arf :( |
The query is written to the log when it has been processed (so they are ordered by "end time"). But the time you're seeing in the log is the time when the query processing has been started. |
Okay, I didn't know that. It's hard to take in, but I get it. |
Yeah, that's generally not a bug, but there are ways to mitigate this. |
OK, so the query log shows us the time at which the processing of the request was launched (the demand), classifying these requests by order of processing (the response), did I understand correctly ? By saying "there are ways to mitigate this" what do you mean ? What's up? |
The queries are buffered in-memory before they're dumped into the query log file. We could keep them sorted at that point. There's still a probability that the query that's processed right after the buffer is dumped will get out of sort. |
OK, I understand that here you are expressing that you could make an improvement ? I will persist in the Bug !
No screenshot this time, but two XLSX. |
Maybe. We're planning to take a deeper look into it anyway so your input would be useful. |
Great 👍 I wanted to make another one from the query log of the first machine, but I couldn't do it ! Thank you ! |
Merge in DNS/adguard-home from 2293-log-sort to master Updates #2293. Squashed commit of the following: commit f8961e5 Author: Ainar Garipov <[email protected]> Date: Sat Nov 28 17:19:15 2020 +0300 all: document changes commit c92c533 Author: Ainar Garipov <[email protected]> Date: Sat Nov 28 16:44:01 2020 +0300 querylog: resort buffers
Merge in DNS/adguard-home from 2293-log-sort to master Updates #2293. Squashed commit of the following: commit f8961e5 Author: Ainar Garipov <[email protected]> Date: Sat Nov 28 17:19:15 2020 +0300 all: document changes commit c92c533 Author: Ainar Garipov <[email protected]> Date: Sat Nov 28 16:44:01 2020 +0300 querylog: resort buffers
We will close this issue now, as there will be a lot more work done to make the query log more reliable in #2554. |
Prerequisites
Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
Issue Details
Expected Behavior
Actual Behavior
Hello!
I also notice strange behaviors of the query log which can go in an infinite loop without using the mouse wheel, refresh itself completely by itself and go back to the beginning, making any progress impossible !
I also notice inconsistencies in the chronology, sometimes the following lines indicate a more recent time !
My AGH is incrementing a TXT log, non verbose, I found many lines with "[error] Couldn't find timestamp:".
I finally noticed that this incrementing is done when consulting the query log with the scroll wheel, see the screenshots.
Screenshots
Screenshot:
"Back to the future !"
Real-time incrementing of the TXT journal with lines "[error] Couldn't find timestamp:"
Infinite loop without using the mouse wheel, the scrollbar or the keyboard !
Additional Information
I had noticed these problems with the beta 0.104.0-beta3, and found that the query log could not be exploitable, seeing that the navigation buttons had disappeared in the version 0.104.0, I thought that the bugs had been fixed...
For me, it's back to 0.103.0, whose query log has some problems too, but less catastrophic.
I wanted to bring my little contribution, especially in image and my feeling.
I do not doubt that a solution will be found, I hope quickly (but I will be patient) in the form of a patch on this version 0.104 ? Maybe, in the meantime ; good work to all and thank you ;)
The text was updated successfully, but these errors were encountered: