Details
-
Improvement
-
Status: In Progress
-
Medium
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Because of NETVIRT-1384, we want to eventually completely forbid the direct usage of the DataBroker API in all of genius, and enforce all code to only ever use the utilities such as datastore-constrained transactions which guarantee that there are no transaction leaks.
This is basically the genius equivalent of what NETVIRT-1318 did for netvirt. - The short term priority is on doing this for what is due to genius bugs in NETVIRT-1384 (see linked issues).
Ultimately we want to be able to enforce this in all of genius like skitt has already done for netvirt (see the databroker-checks.xml Checkstyle configuration and its use in the netvirt/commons/binding-parent/pom.xml).
Attachments
Issue Links
- blocks
-
NETVIRT-1318 MDSAL best practices
-
- In Progress
-
- is blocked by
-
GENIUS-102 New OOM due to more TX leaks seen in the nova-boot scenario (interfacemanager)
-
- Resolved
-
-
GENIUS-178 Fix new transaction leaks in idmanager
-
- Resolved
-
- relates to
-
NETVIRT-1384 Umbrella: Numerous new transaction leaks
-
- Resolved
-
Gerrit Reviews
| # | Subject | Branch | Project | Status | CR | V |
|---|---|---|---|---|---|---|
| 74465,1 | Add DataBroker exclusion checks | stable/oxygen | genius | Status: NEW | 0 | -1 |