no metrics for EC reconstruct vs. revert

Bug #1485815 reported by clayg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
Confirmed
Low
Unassigned

Bug Description

obj.reconstructor.ObjectReconstructor.reconstruct_fa should emit something every time it's called. Even a debug log line would be better than nothing.

Ideally I'd like to be able to measure an report on the ratio of fragments that are reverted from handoff/rebalance vs. the number of fragments that are reconstructed.

Tags: ec
clayg (clay-gerrard)
tags: added: ec
Changed in swift:
importance: Undecided → Low
Changed in swift:
status: New → Confirmed
Revision history for this message
Bill Huber (wbhuber) wrote :

clayg: Can you delineate more on the expectation behind a fix for this bug? Are you expecting each object server to log (at a debug level) fragments that will be either reverted or reconstructed? I guess we will not see anything of this particular in the log on the proxy server.

So, supposedly, we have fragments for several hundreds of objects residing on an object server and the reconstructor daemon is triggered to run through them all to determine which gets reverted or reconstructed. We'd keep track of those fragments until the reconstructor does its job and then calculate the ratio of those fragments reverted vs. fragments reconstructed....?

Revision history for this message
clayg (clay-gerrard) wrote :

@bill yeah that's about right

I don't expect the daemon to keep track of totals and calculate the anything tho - he won't have a wide enough view to answer the question sufficiently for the cluster. But if he did a statsd/debug-log-line message in reconstruct_fa I'm sure I could figure out some way to aggregate across the cluster.

Measure is the first step towards optimize.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.