Project

General

Profile

Actions

Bug #61259

open

rgw http client interesting field heisenbug behavior

Added by Marcus Watts 11 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 #1

Updated by Marcus Watts 11 months ago

Actions #2

Updated by J. Eric Ivancich 11 months ago

  • Pull request ID set to 51583
Actions #3

Updated by Casey Bodley 11 months ago

  • Status changed from New to Fix Under Review
Actions

Also available in: Atom PDF