6194: add debugging to track the bug
Note that reflist is not an iterable but a flat list, so the added debugging doesn't drain any delayed computations... svn: r23449
This commit is contained in:
		| @@ -1028,7 +1028,10 @@ class DbBsddb(DbBsddbRead, DbWriteBase, UpdateCallback): | ||||
|         # Once we have the list of rows that already have a reference | ||||
|         # we need to compare it with the list of objects that are | ||||
|         # still references from the primary object. | ||||
|         current_references = set(obj.get_referenced_handles_recursively()) | ||||
|         reflist = obj.get_referenced_handles_recursively() | ||||
|         LOG.debug("handle: {0}, reflist: {1}".format( | ||||
|             handle, reflist)) | ||||
|         current_references = set(reflist) | ||||
|         no_longer_required_references = existing_references.difference( | ||||
|                                                             current_references) | ||||
|         new_references = current_references.difference(existing_references) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user