falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Venkatesh Seetharam (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-877) Pagination API should have a cap on number of results returned
Date Fri, 14 Nov 2014 11:44:34 GMT

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

Venkatesh Seetharam commented on FALCON-877:
--------------------------------------------

This would mean there would be no way for a user to get all which might be a valid use case.
But at the same time, falcon may run OOM. Hmmm....

> 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
>    Affects Versions: 0.6
>            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)

Mime
View raw message