Project

General

Profile

Bug #19430

objecter: full_try behavior not consistent with osd

Added by Sage Weil about 2 months ago. Updated about 2 months ago.

Status:
Pending Backport
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
-
Start date:
03/30/2017
Due date:
% Done:

0%

Source:
Tags:
Backport:
jewel,kraken
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Release:
Needs Doc:
No

Description

on the objecter, we have

    bool respects_full() const {
      return
    (target.flags & (CEPH_OSD_FLAG_WRITE | CEPH_OSD_FLAG_RWORDERED)) &&
    !(target.flags & (CEPH_OSD_FLAG_FULL_TRY | CEPH_OSD_FLAG_FULL_FORCE));
    }

which means that we do resend after full only if neither full_try nor full_force are set.

but on the osd,

  if (write_ordered && !( m->get_source().is_mds() || m->has_flag(CEPH_OSD_FLAG_FULL_FORCE)) &&
      info.history.last_epoch_marked_full > m->get_map_epoch()) {
    dout(10) << __func__ << " discarding op sent before full " << m << " " 
         << *m << dendl;
    return;
  }


Related issues

Related to Bug #19133: osd ops (sent and?) arrive at osd out of order Pending Backport 03/02/2017
Duplicated by Bug #19540: .../rados/test.sh: line 9: 29593 Terminated (times out) Duplicate 04/06/2017
Copied to Backport #19559: jewel: objecter: full_try behavior not consistent with osd New
Copied to Backport #19560: kraken: objecter: full_try behavior not consistent with osd In Progress

History

#1 Updated by Sage Weil about 2 months ago

  • Related to Bug #19133: osd ops (sent and?) arrive at osd out of order added

#3 Updated by Sage Weil about 2 months ago

  • Status changed from New to Need Review

#4 Updated by Sage Weil about 2 months ago

  • Duplicated by Bug #19540: .../rados/test.sh: line 9: 29593 Terminated (times out) added

#5 Updated by Sage Weil about 2 months ago

  • Status changed from Need Review to Pending Backport
  • Backport changed from jewel to jewel,kraken

#6 Updated by Nathan Cutler about 2 months ago

  • Copied to Backport #19559: jewel: objecter: full_try behavior not consistent with osd added

#7 Updated by Nathan Cutler about 2 months ago

  • Copied to Backport #19560: kraken: objecter: full_try behavior not consistent with osd added

Also available in: Atom PDF