Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(session): List performance with large number of session connectio…
…ns (#3288) As part of the performance improvements for listing sessions for v0.9.0, the view used to retrieve sessions for listing was updated to no longer include a join on session_connection. However, a later migration that was adding additional columns to this view inadvertently re-added the join and session_connection columns. This resulted in requests to list sessions performing this join, and returning additional rows for each connection in a session. The application would ignore this additional data, since it is no longer returned via the API. This would be particularly impactful in cases where there are a large number of connections per session, as this would greatly increase the amount of data returned by the database. This fix removes the session_connection join from this view, which should restore the original performance improvements even in cases where there is a large number of session connections per session. See: #2160 Ref: 3207067 Fixes: 1e3c941 (cherry picked from commit 7aef341)
- Loading branch information