Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Kea Kea
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 504
    • Issues 504
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 53
    • Merge requests 53
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source Projects
  • KeaKea
  • Issues
  • #680
Closed
Open
Created Jun 19, 2019 by Francis Dupont@fdupontDeveloper

MySQL CB hook leaks pool options.

When you have a (prefix delegation or address) pool with options when the pool is deleted its options are not removed.

IMHO the simplest is to add a query to do that in getPools4 & co. Note we delete and recreate pools and options in subnet createUpdate so this is not a corner case.

Note in general it is pretty easy to leak an option because their parents have no cascade so they must be removed explicitly. A DELETE query with NOT EXISTS can be used to collect dangling options.

Related to #632 (closed)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking