ethanlin01x opened a new issue, #3849:
URL: https://github.com/apache/iggy/issues/3849

   ### Bug description
   
   `iggy-server-ng` cannot start on macOS: `ShardInfo::bind_memory` 
(core/shard_allocator/src/lib.rs:239) is missing the `#[cfg(target_os = 
"linux")]` gate that its sibling `bind_cpu` already has, so hwloc returns 
`Unsupported` and every shard thread dies during bootstrap.
   
   ### Affected area / component
   
   Iggy server
   
   ### Deployment
   
   Not applicable
   
   ### Versions
   
   _No response_
   
   ### Hardware / environment
   
   macOS
   
   ### Sample code
   
   _No response_
   
   ### Logs
   
   _No response_
   
   ### Iggy server config
   
   _No response_
   
   ### Reproduction
   
   On macOS
   
   1. cargo build -p server-ng --bin iggy-server-ng --features vsr
   2. ./target/debug/iggy-server-ng
   3. All shards fail and the process exits.
   `shard-1 shard_allocator: Failed to bind memory Rust(Unsupported)`
   
   ### Contribution
   
   - [x] I'm willing to submit a pull request to fix this bug
   
   ### Good first issue
   
   - [ ] I think this could be a good first issue for a new contributor


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to