aboutsummaryrefslogtreecommitdiff
path: root/weed/iam/sts/sts_service.go
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2025-12-08 16:43:35 -0800
committerGitHub <noreply@github.com>2025-12-08 16:43:35 -0800
commit772459f93ca5d77160c4b827a781a53ef91cc31c (patch)
treef72cb592d1bb38c95cf9ea988185c876976966d8 /weed/iam/sts/sts_service.go
parent086ab3e28cffccfd71c49b0e3f88074d099a7e9b (diff)
downloadseaweedfs-772459f93ca5d77160c4b827a781a53ef91cc31c.tar.xz
seaweedfs-772459f93ca5d77160c4b827a781a53ef91cc31c.zip
fix: restore volume mount when VolumeConfigure fails (#7669)
* fix: restore volume mount when VolumeConfigure fails When volume.configure.replication command fails (e.g., due to corrupted .vif file), the volume was left unmounted and the master was already notified that the volume was deleted, causing the volume to disappear. This fix attempts to re-mount the volume when ConfigureVolume fails, restoring the volume state and preventing data loss. Fixes #7666 * include mount restore error in response message
Diffstat (limited to 'weed/iam/sts/sts_service.go')
0 files changed, 0 insertions, 0 deletions