DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=25887>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=25887

[PATCH] Fix for caching of nested aggregations





------- Additional Comments From [EMAIL PROTECTED]  2004-03-17 13:13 -------
Now, the global logic should be as follows (that's the theory):
* if the cache key is invalid and smart caching is turned on, no shorter key is 
tried
* if the cache key is invalid and smart caching is turned off, the key should 
be reduced by one entry and retried. This should be repeated until either the 
key is valid or no cached response is found. This should be done by the global 
while loop.
Now, your fix seems to implement the second case with smart caching turned on. 
So I will now check if the smart caching works as expected and then verify the 
other case.
Thanks for the info!
And yes, the algorithm is far too complicated; although I wrote it, it takes me 
hours to get into it again as well.

Reply via email to