Project

General

Profile

Bug #17173

Duplicate damage table entries

Added by John Spray 7 months ago. Updated 5 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
08/30/2016
Due date:
% Done:

0%

Source:
other
Tags:
Backport:
jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Release:
Component(FS):
Needs Doc:
No

Description

Seen on mira021 long-running MDS.

(where j is the damage json)
>>> [d for d in j if d['ino'] == 1099529116670]
[{u'frag': u'*', u'ino': 1099529116670, u'damage_type': u'dir_frag', u'id': 197657288},
 {u'frag': u'*', u'ino': 1099529116670, u'damage_type': u'dir_frag', u'id': 244045365}]

The inserting logic should be checking for existing entry of same inode+type before inserting, but apparently it's not. There are only 670 unique inodes mentioned, but there are 1352 entries in the damage table.


Related issues

Copied to Backport #17479: jewel: Duplicate damage table entries Resolved

History

#1 Updated by John Spray 6 months ago

  • Status changed from New to Need Review

#2 Updated by John Spray 6 months ago

  • Backport set to jewel
  • Needs Doc set to No

#3 Updated by John Spray 6 months ago

  • Status changed from Need Review to Pending Backport

#4 Updated by Loic Dachary 6 months ago

#5 Updated by Loic Dachary 5 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF