We should use index to retrieve the data from ndb other than load & sort in memory.
Jeff's ETA is 1 day.
The following revision refers to this bug: https://chromium.googlesource.com/infra/infra.git/+/b0b95c0f42e36db94517e8f126931e127b86a55b commit b0b95c0f42e36db94517e8f126931e127b86a55b Author: lijeffrey <lijeffrey@chromium.org> Date: Thu Dec 01 14:02:41 2016 [Findit] Query master flake analyses 100 at a time and add previous/next buttons to check flake dashboard Sample page: https://lijeffrey-dot-findit-for-me.appspot.com/waterfall/list-flakes BUG= 662562 Review-Url: https://codereview.chromium.org/2546433003 [modify] https://crrev.com/b0b95c0f42e36db94517e8f126931e127b86a55b/appengine/findit/handlers/flake/list_flakes.py [modify] https://crrev.com/b0b95c0f42e36db94517e8f126931e127b86a55b/appengine/findit/handlers/flake/test/list_flakes_test.py [modify] https://crrev.com/b0b95c0f42e36db94517e8f126931e127b86a55b/appengine/findit/templates/config.html [modify] https://crrev.com/b0b95c0f42e36db94517e8f126931e127b86a55b/appengine/findit/templates/flake/dashboard.html
The following revision refers to this bug: https://chromium.googlesource.com/infra/infra.git/+/fa4194d7c7a0211022114538b6fe76c1f8d80d78 commit fa4194d7c7a0211022114538b6fe76c1f8d80d78 Author: Chan Li <chanli@chromium.org> Date: Fri Dec 02 23:44:36 2016 [Findit] Fix bug in flake checker algorithms. BUG= 662562 Change-Id: I1a5806e00bad734ef1903a7defbe8453b8c17784 Reviewed-on: https://chromium-review.googlesource.com/416296 Reviewed-by: Shuotao Gao <stgao@chromium.org> Commit-Queue: Chan Li <chanli@chromium.org> [modify] https://crrev.com/fa4194d7c7a0211022114538b6fe76c1f8d80d78/appengine/findit/waterfall/flake/initialize_flake_pipeline.py [modify] https://crrev.com/fa4194d7c7a0211022114538b6fe76c1f8d80d78/appengine/findit/waterfall/flake/recursive_flake_pipeline.py [modify] https://crrev.com/fa4194d7c7a0211022114538b6fe76c1f8d80d78/appengine/findit/waterfall/flake/test/recursive_flake_pipeline_test.py
The following revision refers to this bug: https://chromium.googlesource.com/infra/infra.git/+/23d2c54265b5c08a3bf46959d4eb40ee9416b62d commit 23d2c54265b5c08a3bf46959d4eb40ee9416b62d Author: Chan Li <chanli@chromium.org> Date: Mon Dec 05 23:42:26 2016 [Findit] Fix bugs in flaky dashboard 1. fix result_status not working issue 2. Use cursor to fetch pages 3. Add a new index BUG= 662562 Change-Id: I5aa4dbab6bb01f5dfce819cb0e1352fc6fcb4943 Reviewed-on: https://chromium-review.googlesource.com/415997 Commit-Queue: Chan Li <chanli@chromium.org> Reviewed-by: Shuotao Gao <stgao@chromium.org> Reviewed-by: Jeffrey Li <lijeffrey@chromium.org> [modify] https://crrev.com/23d2c54265b5c08a3bf46959d4eb40ee9416b62d/appengine/findit/handlers/flake/list_flakes.py [modify] https://crrev.com/23d2c54265b5c08a3bf46959d4eb40ee9416b62d/appengine/findit/handlers/flake/test/list_flakes_test.py [modify] https://crrev.com/23d2c54265b5c08a3bf46959d4eb40ee9416b62d/appengine/findit/index.yaml [modify] https://crrev.com/23d2c54265b5c08a3bf46959d4eb40ee9416b62d/appengine/findit/templates/flake/dashboard.html
Comment 1 by chanli@chromium.org
, Nov 16 2016