Fix an issue in shmem region initialization, where a local region object would get created but immediately destroyed because container already contains a remote region object with the same ID. Issue becomes worse since the existing object would be marked as local, but with wrong configuration, leading to potential unexpected behavior.
Fix an issue in shmem region initialization, where a local region object would get created but immediately destroyed because container already contains a remote region object with the same ID. Issue becomes worse since the existing object would be marked as local, but with wrong configuration, leading to potential unexpected behavior.