Updated openstack/openstack
Project: openstack/swift 3c11f6b8a89fffa9a44e9396f48e1dc98499c81e Make dict deletion idempotent in dump_recon_cache Calling dump_recon_cache with a key mapped to an empty dict value causes the key to be removed from the cache entry. Doing the same again causes the key to be added back and mapped an empty dict, and the key continues to toggle as calls are repeated. This behavior is seen on the Related-Bug report. This patch fixes dump_recon_cache to make deletion of a key idempotent. This fix is needed for the Related-Change which makes use of empty dicts with dump_recon_cache to clear unwanted keys from the cache. The only caller that currently set empty dict values is obj/auditor.py where the current intended behavior would appear to be as per this patch. Related-Change: I28925a37f3985c9082b5a06e76af4dc3ec813abe Related-Bug: #1704858 Change-Id: If9638b4e7dba0ec2c7bd95809cec6c5e18e9301e
This commit is contained in:
parent
7bcf7f3abf
commit
d05d21bd86
2
swift
2
swift
|
@ -1 +1 @@
|
|||
Subproject commit 269d314dd8171e1947a0910fbb1852edb91ee9cf
|
||||
Subproject commit 3c11f6b8a89fffa9a44e9396f48e1dc98499c81e
|
Loading…
Reference in New Issue