Replies: 2 comments 2 replies
|
Based on the available documentation, here's what you need to know about rolling upgrades for minor version updates: Database Migrations During UpgradesWhen upgrading Langfuse, database migrations are applied automatically during container startup(1). This means that when you start a new version of the container, it will run any necessary database schema changes before the application becomes available(1). Rolling Upgrade ConsiderationsFor minor/patch version updates within the same major version (like 3.123.1 to 3.137.0), updates are designed to be non-disruptive(1). The documentation states that "Updates within a major version are designed to be non-disruptive and are automatically applied"(1). However, the documentation doesn't explicitly address the specific scenario of rolling upgrades with multiple web and worker containers running simultaneously during the upgrade process. Recommended ApproachFor a zero-downtime upgrade, the v2 to v3 migration guide recommends provisioning new instances and moving traffic after validation(2). While this guidance is for major version upgrades, it suggests the safest approach is:
Important NoteThe documentation emphasizes that you can use I don't have specific documentation about the sequential dependency between web and worker upgrades during rolling deployments, or whether you can upgrade containers in any order without issues. For production deployments with multiple containers, I recommend reaching out to Langfuse support or creating a GitHub issue to clarify the recommended rolling upgrade procedure for your specific deployment scenario(1). 📚 Sources: Have another question? Just tag @inkeep. |
|
I need to clarify an important distinction about forward compatibility in Langfuse upgrades. Using Version TagsWhen you use Important Clarification on CompatibilityHowever, this doesn't mean Langfuse is "forward compatible" in the traditional sense. What the documentation actually states is that "Updates within a major version are designed to be non-disruptive and are automatically applied"(1). The key points are:
What This Means for Rolling UpgradesThe documentation doesn't explicitly confirm that you can safely run mixed versions (e.g., some containers on 3.123.1 and others on 3.137.0) simultaneously during a rolling upgrade. The v2→v3 migration guide recommends a zero-downtime approach where you provision new instances and shift traffic after validation(2), suggesting caution when mixing versions. For production deployments with multiple containers, I recommend contacting Langfuse support or creating a GitHub issue to confirm the specific rolling upgrade procedure and whether running mixed minor versions simultaneously is supported(1). 📚 Sources: Have another question? Just tag @inkeep. |
Uh oh!
There was an error while loading. Please reload this page.
Describe your question
Minor version upgrades, such as upgrading from 3.123.1 to 3.137.0.
Multiple langfuse.web and langfuse.worker have been self-deployed
Will there be any problems with rolling upgrades, because updating an image will involve changes to the database schema? All other containers that have not been rolled and updated will report errors. Is there a sequential dependency relationship between web and worker version upgrades?
Can I upgrade any container of the web or worker at will
Langfuse Cloud or Self-Hosted?
Self-Hosted
If Self-Hosted
3.123.1
If Langfuse Cloud
No response
SDK and integration versions
No response
Pre-Submission Checklist
All reactions