Skip to content

NonExistentActivationException thrown on shutdown for client response messages #6507

Description

@ReubenBond

I was investigating some flakiness in the TransactionWillRecoverAfterRandomSiloUnGracefulShutdown tests and encountered this.

When MessageCenter shuts down, it sets Gateway to null and that results in this exception when sending client responses, because TryDeliverToProxy returns false (Gateway is null) and TargetSilo is the local silo, so the silo tries to handle the message locally. Catalog eventually throws this exception from GetOrCreateActivation.

image

Note that the GrainId in the above image refers to a client.

This results in a degraded experience for clients during graceful shutdown (eg, rolling update) scenarios.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-testingOrleans testing related issuesbug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions