Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ensure channel size non zero #1345

Merged
merged 3 commits into from
Dec 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions analytic_engine/src/sst/parquet/async_reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -732,6 +732,7 @@ impl<'a> SstReader for ThreadedReader<'a> {
);

let channel_cap_per_sub_reader = self.channel_cap / sub_readers.len();
let channel_cap_per_sub_reader = channel_cap_per_sub_reader.max(1);
let (tx_group, rx_group): (Vec<_>, Vec<_>) = (0..read_parallelism)
.map(|_| mpsc::channel::<Result<RecordBatchWithKey>>(channel_cap_per_sub_reader))
.unzip();
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/build_meta.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ META_BIN_PATH=${META_BIN_PATH:-""}

if [[ -z "${META_BIN_PATH}" ]]; then
echo "Fetch and install ceresmeta-server..."
go install -a github.com/CeresDB/horaemeta/cmd/ceresmeta-server@main
go install -v -a github.com/CeresDB/ceresmeta/cmd/ceresmeta-server@dev
META_BIN_PATH="$(go env GOPATH)/bin/ceresmeta-server"
fi

Expand Down
Loading