Bug #61259
openrgw http client interesting field heisenbug behavior
0%
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.
Updated by Marcus Watts 11 months ago
I've posted my PR here,
https://github.com/ceph/ceph/pull/51583
and a built copy of this should be here,
https://shaman.ceph.com/builds/ceph/mdw-main-http-header-2/
Updated by Casey Bodley 11 months ago
- Status changed from New to Fix Under Review