Skip to content

GitLab

  • Menu
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 530
    • Issues 530
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 102
    • Merge requests 102
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & 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 Projects
  • BINDBIND
  • Merge requests
  • !6337

Draft: Instead of maintaining own set of resolver tasks use caller's task

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Ondřej Surý requested to merge ondrej-resolver-use-caller-task into main May 19, 2022
  • Overview 1
  • Commits 2
  • Pipelines 11
  • Changes 33

Previously, the resolver has maintained many tasks that were randomly used for resolution process. After the last refactoring, this was reduced to per-thread task. Since the caller always needs to pass the task for calling the callback, the resolver already have access to the task object that's evenly distributed among the threads (via ns_clientmgr), so change the logic to stop using the internal threads, and use the task that has been passed when creating new fetch context.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: ondrej-resolver-use-caller-task