The GitHub Actions job "Coverage" on rocketmq.git/fix/readable-running-flags has failed. Run started by GitHub user rundood5 (triggered by ShannonDing).
Head commit for run: 8094dda947ab392026fed9edc52244912e8c0b9d / Chuanpo We <[email protected]> improve(store): make disk-full diagnostics actionable When the commitlog volume goes above the disk threshold the broker marks the message store read-only and producers get CODE: 14, but nothing in the logs says why: - broker.log prints "message store is not writeable, so putMessage is forbidden 16", where 16 is the raw RunningFlags bit value; - store.log prints the measured ratio but not the effective threshold; - a diskSpaceWarningLevelRatio outside [0.35, 0.90] is silently clamped, so an operator may believe the configured value is in effect when it is not. Changes: - RunningFlags#getFlagBitsString() renders the bits as readable names (DISK_FULL, NOT_READABLE|DISK_FULL, ...) and keeps getFlagBits() intact. - HookUtils#checkBeforePutMessage logs both the numeric value and the names, so existing greps on the number keep working. - DefaultMessageStore logs the clamp once, with the allowed range and the effective value, and prints the effective threshold next to the measured ratio when it marks the disk full. - Add RunningFlagsTest covering the empty, single, multiple and cleared cases. No behaviour change: the clamp produces the same values as before, and only log output and a new accessor are added. Report URL: https://github.com/apache/rocketmq/actions/runs/45022576469 With regards, GitHub Actions via GitBox
