oceanbase / oceanbase/seekdb

Make AsyncTaskQueue thread count configurable

Open
#409 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

dima type: task
Dominant language
C++
Stars
2.9k
Forks
339
Avg merge
1d 19h
Merged PRs (30d)
52

Description

Description

Currently, the AsyncTaskQueue uses a fixed number of threads (e.g., RSAsyncTask0, RSAsyncTask1, RSAsyncTask2, RSAsyncTask3). This request is to make the thread count dynamically configurable, similar to how ObDedupQueue is handled.

Proposed Solution

Implement dynamic configuration for the thread count in AsyncTaskQueue, following the pattern established by the ObDedupQueue component.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the AsyncTaskQueue implementation and tracing how its fixed RSAsyncTask0–RSAsyncTask3 threads are created. Read the ObDedupQueue implementation for the established dynamic-configuration pattern, then make the thread count configurable and verify that queue behavior follows that pattern.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.