Parent foreign key extraction requires another database fetch per object validates, which does not scale well. To mitigate the issue, cache extracted parent key values in a global policy cache dictionary. Use oslo.cache to maintain cache. Hardcode expiration timeout for policy lookups to 5 secs. Change-Id: I6b3d7c96b7487c9bef6d39a28c76fea0721c3098 Related-Bug: #1513782
17 KiB
17 KiB