Skip to content

Akka.Cluster.Sharding: potential wire format problem when upgrading from v1.4 to v1.5 with state-store-mode=ddata and remember-entities=on #6704

@Aaronontheweb

Description

@Aaronontheweb

Version Information
Version of Akka.NET? v1.4 --> v1.5
Which Akka.NET Modules? Akka.Cluster.Sharding

Describe the bug

When upgrading an existing Akka.NET cluster that has remember-entities=on and state-store-mode=ddata, the following error can appear on the v1.4 nodes:

image

This appears to be a wire format issue - the user who reported this issue hadn't materially changed any of their code at all.

To Reproduce

We need to reproduce this to see if this is an oversight in our management of the wire format for v1.5 for this specific group of users.

Steps to reproduce the behavior:

  1. Clone https://github.com/petabridge/akkadotnet-code-samples/tree/master/src/clustering/sharding-sqlserver
  2. Configure to run in DData mode using v1.4 binaries with remember-entities=on - populate some data (https://github.com/petabridge/akkadotnet-code-samples/blob/8ff65149ee4cbdbcadd6f5c39ff2716a343d9f61/src/clustering/sharding-sqlserver/SqlSharding.Host/Program.cs#L74-L76)
  3. Run at least 3 nodes
  4. Upgrade to v1.5 - only deploy a single v1.5 node with the other two remaining at v1.4
  5. See if the error occurs.

Expected behavior

Upgrade should occur without any errors.

Actual behavior

To be determined.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions