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: handle if num_cpus / 2 == 0 #2740

Merged
merged 1 commit into from
Nov 14, 2023

Conversation

waynexia
Copy link
Member

I hereby agree to the terms of the GreptimeDB CLA

What's changed and what's your intention?

This sanitizer cannot help when num_cpus / 2 == 0. Add an additional .max() to avoid this.

Checklist

  • I have written the necessary rustdoc comments.
  • I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)

@waynexia waynexia enabled auto-merge November 14, 2023 06:33
@shuiyisong shuiyisong self-requested a review November 14, 2023 06:36
Copy link
Contributor

@shuiyisong shuiyisong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

Copy link
Contributor

@evenyag evenyag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

......

@waynexia waynexia added this pull request to the merge queue Nov 14, 2023
Copy link

codecov bot commented Nov 14, 2023

Codecov Report

Merging #2740 (3e0b781) into develop (dc46e96) will decrease coverage by 0.38%.
The diff coverage is 0.00%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2740      +/-   ##
===========================================
- Coverage    85.31%   84.93%   -0.38%     
===========================================
  Files          765      765              
  Lines       124537   124537              
===========================================
- Hits        106247   105777     -470     
- Misses       18290    18760     +470     

Merged via the queue into GreptimeTeam:develop with commit e2a770f Nov 14, 2023
12 checks passed
@waynexia waynexia deleted the fix-num-cpus branch November 14, 2023 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants