Skip to content

[BUG] When a v2 volume is attached in maintenance mode, removing a replica will lead to volume stuck in attaching-detaching loop  #6166

Closed
@shuo-wu

Description

Describe the bug (🐛 if you encounter this issue)

This bug is triggered in v2 volume and under maintenance mode only.

To Reproduce

Steps to reproduce the behavior:

  1. Create a v2 volume
  2. Attach it with maintenance mode
  3. Delete one replica => The volume get stuck in attaching-detaching loop

Expected behavior

The rebuilding should be triggered instead.

Log or Support bundle

Environment

  • Longhorn version: v1.5.0-master-head (06/20/2023)
  • Number of Longhorn volumes in the cluster: 2

Additional context

cc @derekbit

Metadata

Type

No type

Projects

  • Status

    Closed

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions