[Webkit-unassigned] [Bug 149609] New: Appscale query fails because of missing index

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 28 17:02:41 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=149609

            Bug ID: 149609
           Summary: Appscale query fails because of missing index
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aakash_jain at apple.com
                CC: lforschler at apple.com

AppScale logs have the following below stacktrace. We add to add the index accordingly. 

 33369   File "/var/apps/webkit-queues/app/handlers/queuestatus.py", line 65, in _fetch_statuses
 33370     return statuses.order("-date").fetch(15)
 33371   File "/root/appscale/AppServer/google/appengine/ext/db/__init__.py", line 2157, in fetch
 33372     return list(self.run(limit=limit, offset=offset, **kwargs))
 33373   File "/root/appscale/AppServer/google/appengine/ext/db/__init__.py", line 2326, in next
 33374     return self.__model_class.from_entity(self.__iterator.next())
 33375   File "/root/appscale/AppServer/google/appengine/datastore/datastore_query.py", line 2892, in next
 33376     next_batch = self.__batcher.next()
 33377   File "/root/appscale/AppServer/google/appengine/datastore/datastore_query.py", line 2754, in next
 33378     return self.next_batch(self.AT_LEAST_ONE)
 33379   File "/root/appscale/AppServer/google/appengine/datastore/datastore_query.py", line 2791, in next_batch
 33380     batch = self.__next_batch.get_result()
 33381   File "/root/appscale/AppServer/google/appengine/api/apiproxy_stub_map.py", line 615, in get_result
 33382     return self.__get_result_hook(self)
 33383   File "/root/appscale/AppServer/google/appengine/datastore/datastore_query.py", line 2543, in __query_result_hook
 33384     yaml_index=yaml, xml_index=xml)
 33385 NeedIndexError: Query requires an index
 33386 The suggested index for this query is:
 33387 - kind: QueueStatus
 33388   properties:
 33389   - name: bot_id
 33390   - name: queue_name
 33391   - name: date
 33392     direction: desc

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150929/f25c5c81/attachment.html>


More information about the webkit-unassigned mailing list