Skip to content

Add new command fluvio cluster resume #3810

@digikata

Description

@digikata

On some systems fluvio cluster start can fail to recognize started spus and timeout despite the spus reporting status. (MacOs Sonoma 14.1.2)

Problem

Starting up with multiple spus, creating a topic with replicas higher than 1, then restarting with a different number of spus causes this problem. This can be fixed by starting the cluster with the original start options or a fluvio cluster delete and a fresh fluvio cluster start

$ fluvio cluster start --spus 3
$ fluvio topic create --replication 3 repltopic
$ fluvio produce repltopic
Ok!
> b
Ok!
> c
Ok!
> ^C
$ fluvio cluster shutdown

$ fluvio cluster start        
📝 Running pre-flight checks
    ✅ Local Fluvio is not installed
🎉 All checks passed!
✅ Local Cluster initialized
👤 Profile set
✅ SC Launched
🤖 Starting SPU: (1/1) \
🖥️ 3/1 SPU confirmed, 15 seconds elapsed 

Solution

disallow fluvio cluster start after a fluvio cluster shutdown. Instead add new command for fluvio cluster resume

Community Note

This issue is of intermediate to expert difficulty, but Infinyon mentoring is available if you are interested in taking it on.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghelp wantedGood issue for community involvement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions