Project

General

Profile

Bug #50447

cephfs-mirror: disallow adding a active peered file system back to its source

Added by Venky Shankar over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Correctness/Safety
Target version:
% Done:

0%

Source:
Tags:
Backport:
pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

cephfs-mirror is unidirectional atm. So, If (cluster2, fs) is an active peer for (cluster1, fs), disallow adding (cluster1, fs) as a peer for (cluster2, fs).

Note that, once the peer relationship is removed, this is fine.


Related issues

Copied to CephFS - Backport #51283: pacific: cephfs-mirror: disallow adding a active peered file system back to its source Resolved

History

#1 Updated by Venky Shankar over 1 year ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 40997

#2 Updated by Patrick Donnelly over 1 year ago

  • Status changed from Fix Under Review to Pending Backport

#3 Updated by Backport Bot over 1 year ago

  • Copied to Backport #51283: pacific: cephfs-mirror: disallow adding a active peered file system back to its source added

#4 Updated by Loïc Dachary over 1 year ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Also available in: Atom PDF