Project

General

Profile

Bug #41716

LibRadosTwoPoolsPP.ManifestUnset fails

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

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
-
Start date:
09/07/2019
Due date:
% Done:

0%

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

Description

2019-09-07T08:35:10.542 INFO:tasks.workunit.client.0.smithi130.stdout:              api_tier_pp: [ RUN      ] LibRadosTwoPoolsPP.ManifestUnset
2019-09-07T08:35:10.542 INFO:tasks.workunit.client.0.smithi130.stdout:              api_tier_pp: require_osd_release = octopus
2019-09-07T08:35:10.543 INFO:tasks.workunit.client.0.smithi130.stdout:              api_tier_pp: /build/ceph-15.0.0-4676-g4777952/src/test/librados/tier_cxx.cc:3294: Failure
2019-09-07T08:35:10.543 INFO:tasks.workunit.client.0.smithi130.stdout:              api_tier_pp: Expected equality of these values:
2019-09-07T08:35:10.543 INFO:tasks.workunit.client.0.smithi130.stdout:              api_tier_pp:   0
2019-09-07T08:35:10.543 INFO:tasks.workunit.client.0.smithi130.stdout:              api_tier_pp:   completion->get_return_value()

/a/sage-2019-09-06_05:32:36-rados-wip-sage-testing-2019-09-05-2132-distro-basic-smithi/4281946

History

#1 Updated by Sage Weil 2 months ago

  • Project changed from mgr to RADOS

#2 Updated by Myoungwon Oh 2 months ago

  • Assignee set to Myoungwon Oh

#3 Updated by Myoungwon Oh 2 months ago

This issue is fixed by https://github.com/ceph/ceph/pull/29985
When the error occurs, the following ops are executed in order.

1. set-redirect and increase the reference count

at this time, set-redirect(retry) is received.
so,

1. set-redirect and increment the reference count
2. set-redirect(retry) increment the reference count
3. finish 1
4. finish 2 (but manifest info is already updated, so osd return EINVAL)

To avoid this situation, start_block() and stop_block() were added.

1. set-redirect and increment the reference count
start_block
2. finish 1
stop_block

#4 Updated by Myoungwon Oh 2 months ago

  • Status changed from Verified to Resolved

#5 Updated by Nathan Cutler 2 months ago

  • Pull request ID set to 29985

Also available in: Atom PDF