-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#22153] YSQL, QueryDiagnostics: Add regular flushing mechanism.
Summary: - There exists hard limits on file sizes which are to be dumped as part of each bundle and thereby on amount of data that can be diagnosed. - Current diff adds regular flushing functionality thereby removing the limits on data capture. - Background worker checks if any of the shared variables that are meant to be dumped have touched half of their limit, then it dumps that much data to the file system and empties the variable. - Current diff also adds a limit of 1 KB on pgss query string. Jira: DB-11081 Test Plan: Jenkins: test regex: .*TestYbQueryDiagnostics[.](testYbQueryDiagnosticsStatus|testIntermediateFlushing).* Reviewers: asaha, telgersma Reviewed By: telgersma Subscribers: svc_phabricator, yql Differential Revision: https://phorge.dev.yugabyte.com/D37932
- Loading branch information
1 parent
fe48119
commit 0c5ae28
Showing
4 changed files
with
385 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.