ethanlin01x opened a new pull request, #3850:
URL: https://github.com/apache/iggy/pull/3850

   ## Which issue does this PR address?
   
   Closes #3849
   
   ## Rationale
   
   `iggy-server-ng` cannot start on macOS at all
   
   ## What changed?
   
   `ShardInfo::bind_memory` binds each shard's memory to its NUMA node via 
hwloc. hwloc has no memory-binding backend for macOS, so the call returns 
`Unsupported` and `MemoryBindingFlags::STRICT` turns that into a hard error, 
killing every shard thread during bootstrap.
   
   The bind is now gated on Linux the way its sibling `bind_cpu` already is. 
Nothing is lost off Linux: those platforms report a single NUMA node, so the 
bind is a no-op anyway.
   
   ## Local Execution
   
   - Passed
   - Pre-commit hooks ran 
   
   
   ## AI Usage
   
   1. Which tools? Claude Code 
   2. Scope of usage?  Diagnosis
   3. How did you verify the generated code works correctly?  Ran 
`iggy-server-ng` on Apple Silicon macOS 
   4. Can you explain every line of the code if asked? Yes
   


-- 
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