commit | eae3f421becfccd94e4b3db5469faae6cead704a | [log] [tgz] |
---|---|---|
author | Sean Dague <sean@dague.net> | Thu Nov 13 11:29:10 2014 -0500 |
committer | Sean Dague <sean@dague.net> | Thu Nov 20 12:45:23 2014 -0500 |
tree | 081031c498f0aa23ef0cbdee8948c89687a59121 | |
parent | 1f4f8e136ec33b8babf58c0f43a83860fa329e52 [diff] |
implement gerrit pagination in simplequery gerrit defaults to a limit of 500 changes returned. Nova regularly has more than 500 open reviews. This means that some operations aren't seeing all the open reviews, and causing some oddness (like merge check). Implement implicit paging. In looking at this code I also believe I found a double -1 slicing error which would mean that we would miss some reviews being listed. Change-Id: I00d47c05e4a740b61c690510593fd29eaef49679