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.