Project

General

Profile

Bug #9544

osd: pg deletion vs create race leads to EEXIST on mkcoll (dumpling)

Added by Sage Weil over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
dumpling
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

2014-09-19 14:44:57.138944 7f3613672700  5 osd.3 876 queue_pg_for_deletion: 2.11

and collection_setattr goes through. a bit later,
2014-09-19 14:44:59.534340 7f3613672700  1 -- 10.214.133.27:6814/30928 <== osd.2 10.214.131.12:6809/20482 2684 ==== pg_query(2.11,3.10 epoch 878) v2 ==== 262+0+0 (2841078842 0 0) 0x5c80000 con 0x22c5160
...
2014-09-19 14:44:59.534431 7f3613672700 10 osd.3 878  pg 2.11 dne
...
2014-09-19 14:44:59.534461 7f3613672700  1 -- 10.214.133.27:6814/30928 --> 10.214.131.12:6809/20482 -- pg_notify(2.11,3.10 epoch 878) v4 -- ?+0 0x2cf6700 con 0x22c5160

and hten
2014-09-19 14:45:01.368763 7f3613672700  1 -- 10.214.133.27:6814/30928 <== osd.2 10.214.131.12:6809/20482 2694 ==== pg_log(2.11 epoch 879 query_epoch 879) v3 ==== 890+0+0 (1179397224 0 0) 0x3bf4b80 con 0x22c5160
2014-09-19 14:45:01.368789 7f3613672700 20 osd.3 881 _dispatch 0x3bf4b80 pg_log(2.11 epoch 879 query_epoch 879) v3
2014-09-19 14:45:01.368846 7f3613672700  7 osd.3 881 handle_pg_log pg_log(2.11 epoch 879 query_epoch 879) v3 from osd.2
2014-09-19 14:45:01.368885 7f3613672700 15 osd.3 881 project_pg_history 2.11 from 879 to 881, start ec=1 les/c 871/875 878/878/878
2014-09-19 14:45:01.368934 7f3613672700 20 osd.3 881 _create_lock_pg pgid 2.11
2014-09-19 14:45:01.368939 7f3613672700 10 osd.3 881 _open_lock_pg 2.11
...

and then
2014-09-19 14:45:01.829958 7f3617b95700 10 filestore(/var/lib/ceph/osd/ceph-3) create_collection /var/lib/ceph/osd/ceph-3/current/2.11_head = -17

ubuntu@teuthology:/var/lib/teuthworker/archive/sage-2014-09-18_22:33:58-rados-dumpling-distro-basic-multi/496304 osd.3

Related issues

Duplicated by Ceph - Bug #7120: osd: EEXIST on mkcoll on dumpling Duplicate 01/08/2014

History

#1 Updated by Samuel Just over 9 years ago

  • Status changed from New to 7

wip-sharedptr-registry-backport

#2 Updated by Samuel Just over 9 years ago

  • Status changed from 7 to Pending Backport

#3 Updated by Sage Weil over 9 years ago

  • Backport set to dumpling

#4 Updated by Sage Weil over 9 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF