You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Srikanth Sundarrajan (JIRA)" <ji...@apache.org> on 2014/11/10 04:52:34 UTC

[jira] [Commented] (FALCON-877) Pagination API should have a cap on number of results returned

    [ https://issues.apache.org/jira/browse/FALCON-877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14204302#comment-14204302 ] 

Srikanth Sundarrajan commented on FALCON-877:
---------------------------------------------

{code}
+    protected static final int MAX_RESULTS = 100;
{code}

Would prefer that this be in runtime.properties and is not hard coded.

> Pagination API should have a cap on number of results returned
> --------------------------------------------------------------
>
>                 Key: FALCON-877
>                 URL: https://issues.apache.org/jira/browse/FALCON-877
>             Project: Falcon
>          Issue Type: Improvement
>            Reporter: Ajay Yadav
>            Assignee: Ajay Yadav
>         Attachments: FALCON-877.patch
>
>
> Currently one can specify any arbitrary large number for number of results and falcon will return "all" or the specified number of results (whichever is smaller). This defeats the purpose of pagination as users can still ask for all the results in one go. There should be an upper bound on number of results to be returned by client/service calls.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)