[SERVER-79575] Fix numa node counting Created: 01/Aug/23 Updated: 28/Nov/23 Resolved: 28/Nov/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.3.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Mark Benvenuto | Assignee: | Niaz Pavel |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Server Security
|
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | Security 2023-11-13, Security 2023-11-27, Security 2023-12-11 |
| Participants: |
| Description |
|
There is an off-by-one bug where on a two node numa system, we count it as 3 nodes. This code should be `return i - 1`; https://github.com/mongodb/mongo/blob/217c5457fac/src/mongo/util/processinfo_linux.cpp#L783-L787
|
| Comments |
| Comment by Githook User [ 20/Nov/23 ] |
|
Author: {'name': 'Niaz Pavel', 'email': 'niaz.pavel@mongodb.com', 'username': 'niazpavelatmongo'}Message: |