# Couchbase: rolling upgrade from 4.5.x to 5.1.x

DevFeed: [Couchbase: rolling upgrade from 4.5.x to 5.1.x](<https://devfeed.tech/articles/couchbase-rolling-upgrade-from-4-5-x-to-5-1-x-37686.md>)

Original publisher: [Read original article](<https://carlosbecker.com/posts/cb-upgrade/>)

Author: Carlos Alexandro Becker

Published: 2018-10-10T00:00:00Z

Content type: tutorial

Language: en

Sources: [Carlos Becker](<https://devfeed.tech/sources/carlos-becker.md>)

Topics: [upgrade](<https://devfeed.tech/topics/upgrade.md>), [Docker](<https://devfeed.tech/topics/docker.md>), [Containers](<https://devfeed.tech/topics/containers.md>), [Testing](<https://devfeed.tech/topics/testing.md>)

Tags: [compatibility](<https://devfeed.tech/tags/compatibility.md>), [containers](<https://devfeed.tech/tags/containers.md>), [docker](<https://devfeed.tech/tags/docker.md>), [testing](<https://devfeed.tech/tags/testing.md>), [upgrade](<https://devfeed.tech/tags/upgrade.md>), [version](<https://devfeed.tech/tags/version.md>)

## AI overview

A practical guide to upgrading a Couchbase cluster from 4.5.x to 5.1 using swap rebalance. It reviews breaking changes, tests the procedure with Docker, explains compatibility mode, and describes completing the upgrade without downtime.

## Source excerpt

I have an old Couchbase 4.5.x cluster, and I thought it would be nice to upgrade it. These are my notes and the tests I did before doing it "in production"™.