TRACE includes information from all active sessions #6772
Last updated: 2019-11-28 10:00:06 +0100
Date: 2019-10-09 22:40:52 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36
When using TRACE a user expects to see the trace for that specific query.
Steps to Reproduce:
(shell 1)$ yes "SELECT 'I am from session 1';" | mclient -f trash -d demo
Repeat command from shell 3. Every time it gives a different output, with content from the other sessions.
Date: 2019-10-10 16:30:56 +0200
Returning global TRACE information as part of the result set is likely to be abandoned soon. The purpose of it was to get a complete picture on what is going on in the server. Because, the performance of a single query may be affected by concurrent queries.
Indeed, an overview of all activities may disclose more information then required.
Date: 2019-10-15 15:19:59 +0200
With the latest changes on default branch, this should no longer be an issue.
Date: 2019-10-15 15:39:10 +0200
The Default branch contains better code to separate the profiler events
The text was updated successfully, but these errors were encountered: