Actions
Bug #9390
closedEEXIST on split due to import/export
Status:
Duplicate
Priority:
High
Assignee:
David Zafman
Category:
OSD
Target version:
-
% Done:
0%
Source:
Q/A
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
-9460> 2014-09-08 08:27:42.641572 7f6f17596700 10 filestore(/var/lib/ceph/osd/ceph-1) create_collection /var/lib/ceph/osd/ceph-1/current/1.26s0_head = -17 -9457> 2014-09-08 08:27:42.641575 7f6f17596700 0 filestore(/var/lib/ceph/osd/ceph-1) error (17) File exists not handled on operation 20 (5718.0.0, or op 0, counting from 0) -9456> 2014-09-08 08:27:42.641586 7f6f17596700 0 filestore(/var/lib/ceph/osd/ceph-1) unexpected error code -9405> 2014-09-08 08:27:42.641587 7f6f17596700 0 filestore(/var/lib/ceph/osd/ceph-1) transaction dump: { "ops": [ { "op_num": 0, "op_name": "mkcoll", "collection": "1.26s0_head"}, { "op_num": 1, "op_name": "op_split_collection", "collection": "1.6s0_head", "bits": "6", "rem": "38", "dest": "1.26s0_head"}, { "op_num": 2, "op_name": "collection_setattr", "collection": "1.26s0_head", "name": "info", "length": 1}, { "op_num": 3, "op_name": "omap_setkeys", "collection": "meta", "oid": "16ef7597\/infos\/head\/\/-1", "attr_lens": { "1.26s0_biginfo": 424, "1.26s0_epoch": 4, "1.26s0_info": 728}}, { "op_num": 4, "op_name": "touch", "collection": "meta", "oid": "bc4004b3\/pglog_1.26s0\/0\/\/-1"}, { "op_num": 5, "op_name": "op_omap_rmkeyrange", "collection": "meta", "oid": "bc4004b3\/pglog_1.26s0\/0\/\/-1", "first": "0000000000.00000000000000000000", "last": "4294967295.18446744073709551615"}, { "op_num": 6, "op_name": "omap_rmkeys", "collection": "meta", "oid": "bc4004b3\/pglog_1.26s0\/0\/\/-1"}, { "op_num": 7, "op_name": "omap_setkeys", "collection": "meta", "oid": "bc4004b3\/pglog_1.26s0\/0\/\/-1", "attr_lens": { "can_rollback_to": 12}}, { "op_num": 8, "op_name": "omap_setkeys", "collection": "meta", "oid": "16ef7597\/infos\/head\/\/-1", "attr_lens": { "1.6s0_biginfo": 424, "1.6s0_epoch": 4, "1.6s0_info": 728}}, { "op_num": 9, "op_name": "touch", "collection": "meta", "oid": "1fb5e16e\/pglog_1.6s0\/0\/\/-1"}, { "op_num": 10, "op_name": "op_omap_rmkeyrange", "collection": "meta", "oid": "1fb5e16e\/pglog_1.6s0\/0\/\/-1", "first": "0000000000.00000000000000000000", "last": "4294967295.18446744073709551615"}, { "op_num": 11, "op_name": "omap_rmkeys", "collection": "meta", "oid": "1fb5e16e\/pglog_1.6s0\/0\/\/-1"}, ...ubuntu@teuthology:/a/teuthology-2014-09-08_02:32:01-rados-master-testing-basic-multi/472374
Updated by Samuel Just over 9 years ago
Tricky. I think that we saw the following sequence:
stop osd N
export pg X at epoch e
split pg X at epoch e+3
osd M receives pg X', child of X at epoch e+5
restart osd N
stop osd M
import pg X at epoch e
restart osd M
split pg X at epoch e+3 into X'
filestore crash EEXIST, X' already exists
Updated by Samuel Just over 9 years ago
- Assignee set to David Zafman
Not precisely sure how to approach this. We can make the OSD robust to this situation or we can adjust the test to avoid it.
Updated by Samuel Just over 9 years ago
- Subject changed from EEXIST on create_collection to EEXIST on split due to import/export
Updated by David Zafman over 9 years ago
- Status changed from In Progress to Duplicate
Actions