ListProjects: re-implement using secondary index

The GWT UI and other parts of Gerrit still rely on the in-memory
cache for rendering the project list.
This is the first step that moves some use-cases to the QueryProjects
engine: full list without filters and showing only the active and readonly
projects.

All other existing use-cases are still based on the in-memory
cache and are going to be addressed in the follow-up of this change.

With regards to filtering by project name substring, it is not
implemented on top of the secondary index because of Issue 10446.

Bug: Issue 10380
Change-Id: I8effed5f75bdf353d9b23a3d349009e5f0535186
This commit is contained in:
Luca Milanesio
2019-02-01 11:56:42 +01:00
parent a65e60acf8
commit 5017ba50ce
2 changed files with 67 additions and 4 deletions

View File

@@ -1354,7 +1354,7 @@ any of their groups is used.
This limit applies not only to the link:cmd-query.html[`gerrit query`]
command, but also to the web UI results pagination size in the new
PolyGerrit UI.
PolyGerrit UI and, limited to the full project list, in the old GWT UI.
[[capability_readAs]]