Set target silo for cached silo connections

Merged
RE
5mo ago
+7-1

Summary

  • make Connection.ReceiveMessage virtual so connection types can customize cached-receiver handling
  • set TargetSilo when a cached SiloConnection receives a message, restoring the destination normally assigned by addressing

Validation

  • dotnet build src\Orleans.Runtime\Orleans.Runtime.csproj --framework net10.0 -bl:artifacts\logs\silo-connection-virtual-receive.binlog
  • dotnet test test\Transactions\Orleans.Transactions.Tests\Orleans.Transactions.Tests.csproj --framework net10.0 --filter "FullyQualifiedName~Orleans.Transactions.Tests.ExclusiveLockTransactionMemoryTests.ConcurrentReadThenWriteWithoutExclusiveLock_ThrowsLockException" -- -parallel none -noshadow
Microsoft Reviewers: Open in CodeFlow