Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • BIND BIND
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 589
    • Issues 589
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 95
    • Merge requests 95
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source ProjectsISC Open Source Projects
  • BINDBIND
  • Merge requests
  • !7420

Delete inactive rbt parents while deleting children

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Ondřej Surý requested to merge ondrej/cleanup-rbt-parent into main Jan 24, 2023
  • Overview 6
  • Commits 3
  • Pipelines 3
  • Changes 5

If we delete a node and its parent has been already deleted or never created and it doesn't have any .down nodes, we can also delete the parent and cleanup the memory used by it.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: ondrej/cleanup-rbt-parent