alibaba / alibaba/otter

Node单节点 select的reply队列没有根据配置的并行度正确初始化

Open
#684 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
8.1k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

SETL单节点的时候,初始化select的reply队列 没有根据配置的并行度 正确初始化。

并行度用的默认的5,但是初始化后select的processId总数是3

![image](https://user-images.githubusercontent.com/10413284/50272323-5cba3200-0472-11e9-97c5-483dac1ee832.png)
![image](https://user-images.githubusercontent.com/10413284/50272365-7f4c4b00-0472-11e9-94c9-f5b6ff174fa3.png)

`while (parallelism-- > 0 && queue.size() <= parallelism)` 这句是有意这样写的么?
看起来`while (parallelism-- > 0)`就足够了。

Contributor guide

No contributing guide indexed for this repository

Research direction

Find the single-node SETL select reply-queue initialization containing `while (parallelism-- > 0 && queue.size() <= parallelism)`. Compare the configured parallelism with the initialized processId count, then verify that the queue is initialized to the configured number of entries without breaking other initialization behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases, distributed-systems
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.