Skip to content

How do you safely change the HathoraConfig types? #406

@Strikeskids

Description

@Strikeskids

I'm new to the hathora project and didn't see any documentation talking about the upgrade process for your HathoraConfig types. Did I miss it?

I'm wondering about questions like:

  • What if my client is running an older version of the types than the server I'm connecting to?
  • What if I deploy a new server, it breaks, and I need to roll it back but some clients already have downloaded the new version of the types?
  • How do I make sure that the clients and the servers are able to talk to each other?

The coordinator process described in the architecture docs indicates that clients should be able to seamlessly transition between backends.

  • How do we make sure that all of the backends are running the same version of the software?
  • What if a client gets migrated from a backend from one version to a backend of a different version?

There's a similar issue with the transaction log of all method calls being used for persistence.

  • What if the types of method calls changes?
  • How do I make sure that all of my old message calls can be read and handled by the new version of my software?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions