Project

General

Profile

Bug #39980

error from replay does not stored in rbd-mirror status

Added by Mykola Golub about 2 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
nautilus,mimic,luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

When a remote journal replay completes with an error, `ImageReplayer::handle_replay_complete` properly updates the status by calling `set_state_description` but after this it calls `on_replay_interrupted`, which will call `set_state_description` again and overwrite the error with 0 code.


Related issues

Copied to rbd - Backport #41284: mimic: error from replay does not stored in rbd-mirror status Resolved
Copied to rbd - Backport #41285: luminous: error from replay does not stored in rbd-mirror status Resolved
Copied to rbd - Backport #41286: nautilus: error from replay does not stored in rbd-mirror status Resolved

History

#1 Updated by Mykola Golub about 2 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 28179

#2 Updated by Mykola Golub almost 2 years ago

  • Status changed from Fix Under Review to Pending Backport

#3 Updated by Nathan Cutler almost 2 years ago

  • Copied to Backport #41284: mimic: error from replay does not stored in rbd-mirror status added

#4 Updated by Nathan Cutler almost 2 years ago

  • Copied to Backport #41285: luminous: error from replay does not stored in rbd-mirror status added

#5 Updated by Nathan Cutler almost 2 years ago

  • Copied to Backport #41286: nautilus: error from replay does not stored in rbd-mirror status added

#6 Updated by Nathan Cutler 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