Skip to content

Improve the soundness of relocating thread_aware::Arc when multiple sources are provided #291

@martintmk

Description

@martintmk

I have encountered an issue when relocating thread_aware::Arc and unknowingly providing multiple different source affinities. This caused a bug where I had a "dead instance" caused by multiple relocations.

The problem disappeared where I made sure that only a single source affinity was provided across all relocations calls. Would be nice to provide some debug assertion to ensure caller provides a proper source affinity.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions