Werk #18475 · Sep 23, 25
db2_logsizes: fix crash when write is suspended
SELECT total_log_used from sysibmadm.snapdb (which is used internally by
db2_logsizes) returns "-" when writes are suspended in db2.
The check did not consider this edgecase and crashed with ValueError: invalid
literal for int() with base 10: '-'. Now the check will go to UNKNOWN and
show Can not read usedspace.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 2.5.0b1All Editions
- 2.4.0p14All Editions
- 2.3.0p39CommunityProUltimateUltimate + MT