[Developers] different query response between queryeditor and mqlread service

brendan neutra brendan at metaweb.com
Tue Jan 15 20:33:06 UTC 2008


We have two main layers of cacheing: the outer layer is url based, so POST's 
don't get cached at that level.  The inner layer cache's mql queries directly. 
Looking at our server logs, I confirmed that the query below, issued through the 
query editor, was being cached at this inner layer and the empty result was what 
was cached/returned.  Performing a write, then trying the query again, I am now 
getting proper results from that query (and that should be cached now).

We need to look through our logs and find the details of the transaction where 
the empty/wrong result actually occurred (and got cached), or see if we can 
reproduce it.

Brendan

Christopher Dummy wrote:
> When I try that query through the Query Editor I get nothing for the
> response. Just an empty result. Even with:
> 
> {
>   "query" : [
>     {
>       "guid" : null,
>       "limit" : 51,
>       "type" : "/people/person"
>     }
>   ]
> }
> 
> I get nothing with that query. If I remove the "limit", then I get results.
> This is on www.freebase.com.
> 
> Also, very strange. If I change the "limit" to any other number, 50, 52,
> then I get results. With just 51. I get no results.
> 
> nice bug!
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers


More information about the Developers mailing list