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.
I have encountered an issue when relocating
thread_aware::Arcand 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.