Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add note on zero-donwtime background migrations #1109

Merged
merged 1 commit into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
/// <reference types="next/navigation-types/compat/navigation" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
7 changes: 7 additions & 0 deletions pages/self-hosting/upgrade-guides/upgrade-v2-to-v3.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,13 @@ Also, ensure that you run a recent version of Langfuse, ideally a version later
For a zero-downtime upgrade, we recommend that you provision new instances of the Langfuse web and worker containers
and move your traffic after validating that the new instances are working as expected.

<Callout type="warning">
If you go for the zero-downtime upgrade, we recommend to disable background migrations until you shift traffic to the new instances.
Otherwise, the migration may miss events that are ingested after the new instances were started.
Set `LANGFUSE_ENABLE_BACKGROUND_MIGRATIONS=false` in the environment variables of the new Langfuse web and worker containers until traffic is shifted.
Afterwards, remove the overwrite or set to `true`.
</Callout>

### Upgrade Steps

<Steps>
Expand Down
Loading