Type:
Bug
Priority:
Major
Resolution:
Unresolved
Affects Version/s:
None
Component/s:
None
There're few issues around using +d,-d with the intent to increment and restore the former
state of DEBUG_DBUG variable.
In particular when +d, keyword adds the very first keyword and by thus activates the state
for the specified keyword the following -d,keyword does remove the keyword but leaves the active state for everything, including pollution of the server error log.
There a patch
ommit 0b9400d1f54f4ae9b84decf53352850171880f1e
Author: Thayumanavar <thayumanavar.x.sachithanantha@oracle.com>
Date: Thu May 2 16:22:57 2013 +0530
BUG#11765644: DEBUG 'D' LIST SHOULD STAY EMPTY AFTER SET
DEBUG="+D,<SYMBOL>"
PROBLEM AND FIX:
When the debug 'd' flag has been set to empty, then all
DBUG_ macros are enabled. But if one then sets debug="
+d,foo" then only foo, all others are turned off. The
expected/intended behaviour should be to add debug for
'symbol' in addition to whatever was enabled before.
The fix adds keyword to the stack of active keyword list
if debug was not enabled for all symbols. Also turn debug
off if the last keyword is removed from the stack of
keywords. NOTE: This shall require a change in the docs
to reflect the changed behaviour in this bug
that addresses that and few more use cases.
relates to
MDEV-29613
Improve WITH_DBUG_TRACE=OFF
Closed
{"report":{"fcp":872.8999998569489,"ttfb":150.19999980926514,"pageVisibility":"visible","entityId":81886,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"cb5ed8ff-aedf-498e-816f-8f538bba00a0","navigationType":0,"readyForUser":943.3999998569489,"redirectCount":0,"resourceLoadedEnd":988.3999998569489,"resourceLoadedStart":155.09999990463257,"resourceTiming":[{"duration":288.2000000476837,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":155.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":155.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":443.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":288.60000014305115,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":155.39999985694885,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":155.39999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":444,"responseStart":0,"secureConnectionStart":0},{"duration":298.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":155.39999985694885,"connectEnd":155.39999985694885,"connectStart":155.39999985694885,"domainLookupEnd":155.39999985694885,"domainLookupStart":155.39999985694885,"fetchStart":155.39999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":155.39999985694885,"responseEnd":453.89999985694885,"responseStart":453.89999985694885,"secureConnectionStart":155.39999985694885},{"duration":324.2000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/099b33461394b8015fc36c0a4b96e19f-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true","startTime":155.59999990463257,"connectEnd":155.59999990463257,"connectStart":155.59999990463257,"domainLookupEnd":155.59999990463257,"domainLookupStart":155.59999990463257,"fetchStart":155.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":155.59999990463257,"responseEnd":479.7999999523163,"responseStart":479.7999999523163,"secureConnectionStart":155.59999990463257},{"duration":327.89999985694885,"initiatorType":"script","name":"https://jira.mariadb.org/s/94c15bff32baef80f4096a08aceae8bc-CDN/lu2bu7/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":155.79999995231628,"connectEnd":155.79999995231628,"connectStart":155.79999995231628,"domainLookupEnd":155.79999995231628,"domainLookupStart":155.79999995231628,"fetchStart":155.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":155.79999995231628,"responseEnd":483.69999980926514,"responseStart":483.69999980926514,"secureConnectionStart":155.79999995231628},{"duration":328.2000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":155.89999985694885,"connectEnd":155.89999985694885,"connectStart":155.89999985694885,"domainLookupEnd":155.89999985694885,"domainLookupStart":155.89999985694885,"fetchStart":155.89999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":155.89999985694885,"responseEnd":484.09999990463257,"responseStart":484.09999990463257,"secureConnectionStart":155.89999985694885},{"duration":328.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":156,"connectEnd":156,"connectStart":156,"domainLookupEnd":156,"domainLookupStart":156,"fetchStart":156,"redirectEnd":0,"redirectStart":0,"requestStart":156,"responseEnd":484.5,"responseStart":484.5,"secureConnectionStart":156},{"duration":329,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bu7/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":156.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":156.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":485.09999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":328.7000000476837,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":156.19999980926514,"connectEnd":156.19999980926514,"connectStart":156.19999980926514,"domainLookupEnd":156.19999980926514,"domainLookupStart":156.19999980926514,"fetchStart":156.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":156.19999980926514,"responseEnd":484.89999985694885,"responseStart":484.89999985694885,"secureConnectionStart":156.19999980926514},{"duration":329,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bu7/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":156.39999985694885,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":156.39999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":485.39999985694885,"responseStart":0,"secureConnectionStart":0},{"duration":329,"initiatorType":"script","name":"https://jira.mariadb.org/s/3339d87fa2538a859872f2df449bf8d0-CDN/lu2bu7/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":156.5,"connectEnd":156.5,"connectStart":156.5,"domainLookupEnd":156.5,"domainLookupStart":156.5,"fetchStart":156.5,"redirectEnd":0,"redirectStart":0,"requestStart":156.5,"responseEnd":485.5,"responseStart":485.5,"secureConnectionStart":156.5},{"duration":522.5999999046326,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":162,"connectEnd":162,"connectStart":162,"domainLookupEnd":162,"domainLookupStart":162,"fetchStart":162,"redirectEnd":0,"redirectStart":0,"requestStart":162,"responseEnd":684.5999999046326,"responseStart":684.5999999046326,"secureConnectionStart":162},{"duration":826.2999999523163,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":162.09999990463257,"connectEnd":162.09999990463257,"connectStart":162.09999990463257,"domainLookupEnd":162.09999990463257,"domainLookupStart":162.09999990463257,"fetchStart":162.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":162.09999990463257,"responseEnd":988.3999998569489,"responseStart":988.3999998569489,"secureConnectionStart":162.09999990463257},{"duration":316.39999985694885,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":671.5,"connectEnd":671.5,"connectStart":671.5,"domainLookupEnd":671.5,"domainLookupStart":671.5,"fetchStart":671.5,"redirectEnd":0,"redirectStart":0,"requestStart":671.5,"responseEnd":987.8999998569489,"responseStart":987.8999998569489,"secureConnectionStart":671.5},{"duration":144.5,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":849.6999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":849.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":994.1999998092651,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":25,"responseStart":151,"responseEnd":159,"domLoading":154,"domInteractive":1039,"domContentLoadedEventStart":1039,"domContentLoadedEventEnd":1074,"domComplete":2123,"loadEventStart":2123,"loadEventEnd":2125,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1022.0999999046326},{"name":"bigPipe.sidebar-id.end","time":1022.8999998569489},{"name":"bigPipe.activity-panel-pipe-id.start","time":1023.0999999046326},{"name":"bigPipe.activity-panel-pipe-id.end","time":1025.5999999046326},{"name":"activityTabFullyLoaded","time":1082.3999998569489}],"measures":[],"correlationId":"f28befb82fb057","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":74,"dbReadsTimeInMs":13,"dbConnsTimeInMs":20,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}