Project

General

Profile

Actions

Bug #61259

open

rgw http client interesting field heisenbug behavior

Added by Marcus Watts 12 months ago. Updated 11 months ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

In the radosgw code, there is a function "RGWHTTPHeadersCollector::receive_header" which is supposed to look for "interesting" header fields. Interesting header fields include those used for various forms of keystone authentication. The existing logic also attempts to log header fields if the debug leve is high enough. However, as a side effect of the logging logic, what fields are considered "interesting" changes, which can cause other changes further down the line with other logic that expects to find an interesting field. This is unhelpful debug behavior, because it leads to "heisenbugs" - bugs that disappear on inspection.

Really, the interpretation of "interesting fields" should be the same regardless of debug level. I've got code that fixes this behavior, which I will post shortly.

Actions

Also available in: Atom PDF