Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

Update cluster migration guide for 1.4.0#633

Merged
pcholakov merged 1 commit intomainfrom
pavel/nwulrkrtklky
Jun 23, 2025
Merged

Update cluster migration guide for 1.4.0#633
pcholakov merged 1 commit intomainfrom
pavel/nwulrkrtklky

Conversation

@pcholakov
Copy link
Contributor

Follow up to restatedev/restate#3410 - specific to 1.4.0, will merge only when we're updating the docs for the release.

@pcholakov pcholakov requested a review from AhmedSoliman June 18, 2025 15:19
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jun 18, 2025

Deploying documentation with  Cloudflare Pages  Cloudflare Pages

Latest commit: f0555aa
Status: ✅  Deploy successful!
Preview URL: https://dc4a7fcc.documentation-beg.pages.dev
Branch Preview URL: https://pavel-nwulrkrtklky.documentation-beg.pages.dev

View logs

Copy link
Contributor

@AhmedSoliman AhmedSoliman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few nits but generally pretty good.

</Admonition>

This guide assumes you have a running single-node Restate server that uses the local loglet and local metadata server.
This guide shows how to scale an existing single-node deployment to a multi-node cluster. It assumes you have a running single-node Restate server that is running the replicated loglet and replicated metadata server, which are enabled by default in Restate >= 1.4.0.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think all mentions of versions should be prefixed by v. (v1.4.0 vs. 1.4.0).

<Step stepLabel="2" title="Verify that node is running the replicated loglet">

To be able to use the replicated loglet, make sure the node includes the `log-server` role if you configure the roles explicitly.
The default configuration does not require adjustments to be cluster-ready. However, if you have explicitly specified which roles to run, you should make sure the configuration includes the `log-server` role. Similarly, make sure that you do not explicitly set the loglet provider type to `local`. While the local logelt is still supported, the default type is `replicated` starting from 1.4.0. Without these settings, the automatic loglet type migration will not take place.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The default configuration does not require adjustments to be cluster-ready. However, if you have explicitly specified which roles to run, you should make sure the configuration includes the `log-server` role. Similarly, make sure that you do not explicitly set the loglet provider type to `local`. While the local logelt is still supported, the default type is `replicated` starting from 1.4.0. Without these settings, the automatic loglet type migration will not take place.
The default configuration does not require adjustments to be cluster-ready. However, if you have explicitly specified which roles to run, you should make sure the configuration includes the `log-server` role. Similarly, make sure that you do not explicitly set the loglet provider type to `local`. While the local loglet is still supported, the default type is `replicated` starting from 1.4.0. Without these settings, the automatic loglet type migration will not take place.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Btw. The migration will happen if default-provider is unset or the whole bifrost stanza is removed. I suggest we remove the requirement of specifying it and only mention it if they already have a configuration file.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to capture the nuance better - let me know if the new version reads better!

type = "replicated"
```toml restate.toml
[metadata-client]
addresses = ["NODE_1_ADVERTISED_ADDRESS", "NODE_2_ADVERTISED_ADDRESS", "NODE_3_ADVERTISED_ADDRESS"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe an actual example instead of placeholders?

@pcholakov pcholakov force-pushed the pavel/nwulrkrtklky branch 3 times, most recently from 4c0464b to 93f1b99 Compare June 23, 2025 17:25
@pcholakov pcholakov dismissed AhmedSoliman’s stale review June 23, 2025 17:27

addressed requested changes

@pcholakov pcholakov requested a review from AhmedSoliman June 23, 2025 17:27
@pcholakov pcholakov force-pushed the pavel/nwulrkrtklky branch 2 times, most recently from 37cbd48 to 073a1d2 Compare June 23, 2025 17:53
@pcholakov pcholakov force-pushed the pavel/nwulrkrtklky branch from 073a1d2 to f0555aa Compare June 23, 2025 18:14
@pcholakov pcholakov merged commit 66012a2 into main Jun 23, 2025
9 checks passed
@pcholakov pcholakov deleted the pavel/nwulrkrtklky branch June 23, 2025 18:42
@github-actions github-actions bot locked and limited conversation to collaborators Jun 23, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants