mirror of
https://github.com/logos-messaging/docs.waku.org.git
synced 2026-01-04 05:43:07 +00:00
migration instructions
This commit is contained in:
parent
583a4105b6
commit
337a89a89a
22
docs/guides/nwaku/migrate-version.md
Normal file
22
docs/guides/nwaku/migrate-version.md
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
---
|
||||||
|
title: Upgrade Instructions
|
||||||
|
hide_table_of_contents: true
|
||||||
|
sidebar_label: Upgrade Instructions
|
||||||
|
---
|
||||||
|
|
||||||
|
If you are currently using Waku and
|
||||||
|
|
||||||
|
import { AccordionItem } from '@site/src/components/mdx'
|
||||||
|
|
||||||
|
<AccordionItem title="v0.31.0">
|
||||||
|
Named sharding was deprecated in this version. This means that pubsub topics will only be supported if they comply with the static sharding format:
|
||||||
|
|
||||||
|
```
|
||||||
|
/waku/2/rs/<CLUSTER_ID>/<SHARD_ID>
|
||||||
|
```
|
||||||
|
|
||||||
|
In order to migrate your existing application, you need to:
|
||||||
|
1. Make sure that your clients are sending messages to pubsub topics in the required format
|
||||||
|
2. When running a node with the `--pubsub-topic` CLI flag, the values provided should compy with the static sharding format
|
||||||
|
3. If your application relies on nodes or clients that may not be updated immediately, keep your node on an older version while subscribing to both the currently pubsub topic and the new pubsub topic that will comply with the static sharding format. In that case, you can keep backward compatibility for a migration period.
|
||||||
|
</AccordionItem>
|
||||||
Loading…
x
Reference in New Issue
Block a user