Check cluster status to get the number of unfound objects
(self)
| 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 | """ |