check attachment_specs may lead to poor performance
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
In Progress
|
Wishlist
|
Unassigned |
Bug Description
In this change I3be3c99f931772
Total time: 38.3067 s
File: /var/lib/
Function: _from_db_object at line 80
Line # Hits Time Per Hit % Time Line Contents
====
120 1726 38725465.0 22436.5 96.4 connector = db.attachment_
121 1726 6331.0 3.7 0.0 if connector:
122 # Update ourselves and delete the attachment_specs.
123 attachment.
124 attachment.save()
125 # TODO(mriedem): Really need a delete-all method for this.
126 for spec_key in connector:
127 db.attachment_
128 context, attachment.id, spec_key)
129
tags: | added: attachment objects |
Changed in cinder: | |
importance: | Undecided → Wishlist |
Fix proposed to branch: master /review. opendev. org/c/openstack /cinder/ +/844822
Review: https:/