Repository navigation
Fix id_type future shared-state layout during colocation lookup - #8183
divyanshitalreja12 wants to merge 1 commit into
Conversation
Signed-off-by: Divyanshi Talreja <divyanshitalreja12@gmail.com>
|
No actionable comments were generated in the recent review. Summary
Merge Risk:
|
Up to standards ✅🟢 Issues
|
Proposed changes
future<id_type>shared states, so thefuture_data<id_type>specialization is visible before template instantiation.agas_baseandasync_colocated.Background
Hartmut reported a four-locality crash on master in the segmented-sort test while destroying a
future<id_type>created during asynchronous locality discovery: #8033 (comment). The ready-future path inget_colocation_id.cppand the remote action path inprimary_namespace.cpppreviously includedcomponents_base, but the specialized shared state is declared by the fullcomponentsmodule. Instantiating the generic shared state in a producer and using the specialization elsewhere can give those translation units incompatible layouts.This is a focused master fix. It does not change #8033's merge algorithm.
Validation
partitioned_vector_sort_testandget_colocation_id_testin a distributed Release configuration with AppleClang 21.partitioned_vector_sorttest and the two-locality TCPget_colocation_idtest.clang-format --dry-run --Werror,cmake-format --check, andgit diff --check.The reported GCC 16.1 Linux x86_64 crash could not be reproduced on this macOS arm64 host; CI and a Linux rerun should confirm that environment.