Siyao Meng created HDDS-8268:
--------------------------------
Summary: Look into using spotbugs
Key: HDDS-8268
URL: https://issues.apache.org/jira/browse/HDDS-8268
Project: Apache Ozone
Issue Type: Wish
Reporter: Siyao Meng
findbugs seems to have been abandoned, [last commit on Sep
2017|https://github.com/findbugsproject/findbugs].
spotbugs is the findbugs successor that seems mostly a drop-in replacement and
is [actively maintained|https://github.com/findbugsproject/findbugs].
It also has some new checks that {{findbugs}} doesn't seem to have. For
instance,
bq. OBL: Method may fail to clean up stream or resource on checked exception
(OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE)
https://spotbugs.readthedocs.io/en/stable/bugDescriptions.html#obl-method-may-fail-to-clean-up-stream-or-resource-on-checked-exception-obl-unsatisfied-obligation-exception-edge
which could have discovered the leaking handle issue before a commit is merged.
Recently we have quite a few PRs just to fix the leaking DB handles:
1. HDDS-8251. RocksIterator is not closed properly in snapshot
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]