stats output in reconstructor.py gives wrong device count
Bug #1488608 reported by
Caleb Tennis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Low
|
Bill Huber |
Bug Description
The stats output of the reconstructor for our cluster looks like this:
430/430 (100.00%) partitions of 26/13 (200.00%) devices ...
The 26/13 is incorrect obvious. There are 13 physical devices, but we have two separate EC storage policies on this machine, so I believe it is counting 26 because it's counting one for each policy.
tags: | added: ec |
Changed in swift: | |
status: | New → Confirmed |
Changed in swift: | |
assignee: | nobody → Bill Huber (wbhuber) |
Changed in swift: | |
importance: | Undecided → Low |
To post a comment you must log in.
It's the 'reconstruction _device_ count' that's being incorrectly calculated in reconstructor.py.
Note that this value being off also impacts the compute_eta function, which reports negative time to completion.