[LU-13720] "lfs mirror delete" should resync file if needed Created: 26/Jun/20  Updated: 05/Jan/23

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Andreas Dilger Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: easy, usability

Issue Links:
Related
is related to LU-11485 MDS allows "lfs setstripe" to mark la... Resolved
is related to LU-11022 FLR1.5: "lfs mirror" usability for Bu... Resolved
is related to LU-5170 lfs usability Open
is related to LU-14512 prohibit extend file with stale mirror Closed
Rank (Obsolete): 9223372036854775807

 Description   

If "lfs mirror delete" is called on a file to delete a specific mirror (eg. with "-p <pool>" or "--comp-id <id>", but that is the only non-stale mirror of the file, it makes sense from a usability point of view to automatically resync the stale mirror(s) and then remove the mirror as requested by the user, rather than returning an error to the user.

Otherwise, the user will first have to understand that the stale mirrors are preventing their request from completing, then manually resync the mirror with "lfs mirror resync" before calling "lfs mirror delete" again. Since "lfs mirror delete" could do the resync directly, why bother the user to have to understand this problem and do the resync manually?


Generated at Sat Feb 10 03:03:38 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.