MCPcopy Create free account
hub / github.com/ceph/ceph / get_num_unfound_objects

Method get_num_unfound_objects

qa/tasks/ceph_manager.py:2700–2706  ·  view source on GitHub ↗

Check cluster status to get the number of unfound objects

(self)

Source from the content-addressed store, hash-verified

2698 return json.loads(out).get('stuck_pg_stats',[])
2699
2700 def get_num_unfound_objects(self):
2701 """
2702 Check cluster status to get the number of unfound objects
2703 """
2704 status = self.raw_cluster_status()
2705 self.log(status)
2706 return status['pgmap'].get('unfound_objects', 0)
2707
2708 def get_num_creating(self):
2709 """

Callers 5

taskFunction · 0.95
taskFunction · 0.95
taskFunction · 0.95
taskFunction · 0.95
taskFunction · 0.95

Calls 3

raw_cluster_statusMethod · 0.95
logMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected