# Upgrading ScyllaDB version, downtime, and Raft configuration

**URL:** <https://forum.scylladb.com/t/upgrading-scylladb-version-downtime-and-raft-configuration/2331>\
**Category:** ScyllaDB\
**Tags:** administration, raft, upgrade\
**Created:** [July 18, 2024, 10:28am UTC](https://forum.scylladb.com/t/upgrading-scylladb-version-downtime-and-raft-configuration/2331 "2024-07-18T10:28:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guy](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.scylladb.com/guy/32/9_2.png) [@Guy](https://forum.scylladb.com/u/Guy)\
**Post date:** [July 18, 2024, 10:28am UTC](https://forum.scylladb.com/t/upgrading-scylladb-version-downtime-and-raft-configuration/2331/1 "2024-07-18T10:28:36Z")

</div>

> [@](#):
>
> [**Originally from the User Slack**](https://scylladb-users.slack.com/)
> 
> ![Carter](https://us1.discourse-cdn.com/flex016/uploads/scylladb/original/2X/3/3c27b852204f36ffd126b5079dbbe9bac7e0bb56.png) **@Carter:** unless i’m misunderstanding, you cannot upgrade from open source 5.2 to 5.4 without downtime for the raft upgrade?
> 
> ![Felipe_Cardeneti_Mendes](https://us1.discourse-cdn.com/flex016/uploads/scylladb/original/1X/233a9d524fbc97e39f08633c16b3dd2575d1d1f4.jpeg) **@Felipe\_Cardeneti\_Mendes:** You’re misunderstanding. Unless you strictly opted out of Raft in the configuration, Raft will be enabled as you upgrade. All you need to check is whether it completed successfully.
> 
> ![Carter](https://us1.discourse-cdn.com/flex016/uploads/scylladb/original/2X/3/3c27b852204f36ffd126b5079dbbe9bac7e0bb56.png) **@Carter:** I tried the upgrade on staging – just changing our image version from 5.2 to 5.4, no config changes.
> 
> It required all nodes to be upgraded and online before the upgrade could commence, and only then, it would open the port for CQL.
> 
> `consistent_cluster_management` was not set to true nor false when I did the upgrade – is that why?  
> I should mention that our clusters are _tiny_ at 3 nodes each
> 
> ![Felipe_Cardeneti_Mendes](https://us1.discourse-cdn.com/flex016/uploads/scylladb/original/1X/233a9d524fbc97e39f08633c16b3dd2575d1d1f4.jpeg) **@Felipe\_Cardeneti\_Mendes:** Well, yes all nodes must be up and running before you start the upgrade. Not sure WDYM on the last statement for CQL. Are you saying you upgraded and the nodes wouldn’t get start CQL until you finalized the entire upgrade? That shouldn’t happen.
> 
> ![Carter](https://us1.discourse-cdn.com/flex016/uploads/scylladb/original/2X/3/3c27b852204f36ffd126b5079dbbe9bac7e0bb56.png) **@Carter:** Hmm, I stand corrected! I double checked my logs and the way I was streaming them, it was coming from all pods and it caused some confusion. Thanks for your help, @Felipe\_Leme\_Gasparini!

---

<div class="post-metadata">

**Author:** ![Yousuf\_Jawwad](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.scylladb.com/yousuf_jawwad/32/1161_2.png) [@Yousuf\_Jawwad](https://forum.scylladb.com/u/Yousuf_Jawwad)\
**Post date:** [September 12, 2024, 5:57pm UTC](https://forum.scylladb.com/t/upgrading-scylladb-version-downtime-and-raft-configuration/2331/2 "2024-09-12T17:57:25Z")

</div>

Error with upgrading …

```auto
INFO 2024-09-12 17:07:52,103 [shard 0:strm] raft_group0 - finish_setup_after_join: group 0 ID present, loading server info. │
│ INFO 2024-09-12 17:07:52,103 [shard 0:strm] raft_group0 - finish_setup_after_join: SUPPORTS_RAFT feature enabled. Starting internal upgrade-to-raft procedure. │
│ INFO 2024-09-12 17:07:52,103 [shard 0:strm] raft_group0_upgrade - Already upgraded. │
│ INFO 2024-09-12 17:07:52,103 [shard 0:strm] cdc - Latest generation seen during startup: (2024/05/05 12:05:28, 140eef67-8a99-4233-8162-48124267486f) │
│ INFO 2024-09-12 17:07:52,112 [shard 0:strm] cdc - Starting to use generation (2024/05/05 12:05:28, 140eef67-8a99-4233-8162-48124267486f) │
│ INFO 2024-09-12 17:07:52,117 [shard 0:strm] cdc - Generation (2024/05/05 12:05:28, 140eef67-8a99-4233-8162-48124267486f): streams description table already updated. │
│ INFO 2024-09-12 17:07:52,117 [shard 0:strm] raft_topology - The cluster is ready to start upgrade to the raft topology. The procedure needs to be manually triggered. Refer to the documentation │
│ INFO 2024-09-12 17:07:52,118 [shard 0:main] init - starting tracing │
│ INFO 2024-09-12 17:07:52,118 [shard 0:main] init - SSTable data integrity checker is disabled. │
│ INFO 2024-09-12 17:07:52,118 [shard 0:main] service_level_controller - start_legacy_update_from_distributed_data: starting configuration polling loop │
│ INFO 2024-09-12 17:07:52,119 [shard 0:main] init - starting auth service                                                                                       

```

I have followed the instructions from here i.e. applied changes to scylla.yaml before restart and then restarted the nodes.

What am I missing?
