Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dcache-history,dcache-frontend: guard against unconfigured sweeper hi…
…stogram Motivation: GH Issue #5359. The NPE stack trace arises because the pool data could be sent with a default sweeper data object. This object currently contains a default counting histogram object, but that object in turn has internal fields, in particular, the metadata field, which have not been initialized, causing a NPE on processing. Modification: In this patch we just guard against processing an uninitialized counting histogram. A subsequent patch (for master only) will modify how the Sweeper initializes histograms. Result: Should not see the NPE reported below. Target: master Bug: /issues/5359 Patch: https://rb.dcache.org/r/12264/ Request: 6.1 Request: 6.0 Request: 5.2 Request: 5.1 Request: 5.0 Closes: #5359 Acked-by: Olufemi
- Loading branch information