)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":3012,"name":"Dina Belova","email":"dbelova@mirantis.com","username":"dbelova"},"change_message_id":"752be27d8ac5b2a863de21b8fefbdcec6aed2db5","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Limit and Next to Open Ended Queries."},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Open ended queries are usually not a good practice since it is not possible to"},{"line_number":10,"context_line":"predict the amount of data that is returned to the client. This generates issues"},{"line_number":11,"context_line":"like client time-out or data flood."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"The proposal is to always have a limit for queries that do not significantly"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"3a961159_08072d1a","line":10,"updated":"2014-12-11 11:39:46.000000000","message":"too long line :)","commit_id":"531b2265bf2db3a2668bb06a7803413f4ea2a06d"}],"specs/kilo/open_ended_limit.rst":[{"author":{"_account_id":8290,"name":"liusheng","email":"liusheng2048@gmail.com","username":"LiuSheng"},"change_message_id":"0735927751a72ebba49daf7d39c982baf40b0b9c","unresolved":false,"context_lines":[{"line_number":30,"context_line":"Proposed change"},{"line_number":31,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"Introduce a query-limit parameter in the configuration file."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"When a request that is either open ended or has the potential of returning a"},{"line_number":36,"context_line":"massive amount of data the query-limit is put in place and the client is"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a961159_3d12f0b4","line":33,"updated":"2014-12-08 03:45:01.000000000","message":"What is scope of the parameter covered, a global option or one resource? Could you please add more details about The \"parameter\" or \"parameters\".","commit_id":"531b2265bf2db3a2668bb06a7803413f4ea2a06d"},{"author":{"_account_id":7052,"name":"Fabio Giannetti","email":"fgiannet@cisco.com","username":"fabgia"},"change_message_id":"50bbd6c3c2989c80868630955a4e2ec0a45941a4","unresolved":false,"context_lines":[{"line_number":30,"context_line":"Proposed change"},{"line_number":31,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"Introduce a query-limit parameter in the configuration file."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"When a request that is either open ended or has the potential of returning a"},{"line_number":36,"context_line":"massive amount of data the query-limit is put in place and the client is"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a961159_64861515","line":33,"in_reply_to":"3a961159_3d12f0b4","updated":"2014-12-11 14:58:35.000000000","message":"Is a global parameter. Every open ended queries will be cap by this parameter, unless you specify a new one in the query itself.","commit_id":"531b2265bf2db3a2668bb06a7803413f4ea2a06d"},{"author":{"_account_id":8290,"name":"liusheng","email":"liusheng2048@gmail.com","username":"LiuSheng"},"change_message_id":"0735927751a72ebba49daf7d39c982baf40b0b9c","unresolved":false,"context_lines":[{"line_number":34,"context_line":""},{"line_number":35,"context_line":"When a request that is either open ended or has the potential of returning a"},{"line_number":36,"context_line":"massive amount of data the query-limit is put in place and the client is"},{"line_number":37,"context_line":"served with the limited subset of data."},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"Part of the subset is a mechanism, e.g. link to other subset or link to entire"},{"line_number":40,"context_line":"remaining collection, to retrieve the data."}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a961159_5d65fc43","line":37,"updated":"2014-12-08 03:45:01.000000000","message":"Is the query-limit configure option a ceiling of limit parameters in pagination query and will function in storage layer?","commit_id":"531b2265bf2db3a2668bb06a7803413f4ea2a06d"},{"author":{"_account_id":7052,"name":"Fabio Giannetti","email":"fgiannet@cisco.com","username":"fabgia"},"change_message_id":"50bbd6c3c2989c80868630955a4e2ec0a45941a4","unresolved":false,"context_lines":[{"line_number":34,"context_line":""},{"line_number":35,"context_line":"When a request that is either open ended or has the potential of returning a"},{"line_number":36,"context_line":"massive amount of data the query-limit is put in place and the client is"},{"line_number":37,"context_line":"served with the limited subset of data."},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"Part of the subset is a mechanism, e.g. link to other subset or link to entire"},{"line_number":40,"context_line":"remaining collection, to retrieve the data."}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a961159_64aff594","line":37,"in_reply_to":"3a961159_5d65fc43","updated":"2014-12-11 14:58:35.000000000","message":"It will be read from config in the common part of the storage layer and then implemented case by case for the different backends, Mongo, SQL, HBase etc...","commit_id":"531b2265bf2db3a2668bb06a7803413f4ea2a06d"},{"author":{"_account_id":8290,"name":"liusheng","email":"liusheng2048@gmail.com","username":"LiuSheng"},"change_message_id":"0735927751a72ebba49daf7d39c982baf40b0b9c","unresolved":false,"context_lines":[{"line_number":49,"context_line":"not that useful in Ceilometer and does complicate database queries"},{"line_number":50,"context_line":"significantly."},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"Even if a simplified pagination mechanism was implemented in Ceilomented it"},{"line_number":53,"context_line":"does not address the need of a default/configuration setting to avoid returning"},{"line_number":54,"context_line":"all the data in the database."},{"line_number":55,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a961159_dd9f2c4f","line":52,"updated":"2014-12-08 03:45:01.000000000","message":"nit: s/Ceilomented/Ceilometer/","commit_id":"531b2265bf2db3a2668bb06a7803413f4ea2a06d"},{"author":{"_account_id":7052,"name":"Fabio Giannetti","email":"fgiannet@cisco.com","username":"fabgia"},"change_message_id":"50bbd6c3c2989c80868630955a4e2ec0a45941a4","unresolved":false,"context_lines":[{"line_number":49,"context_line":"not that useful in Ceilometer and does complicate database queries"},{"line_number":50,"context_line":"significantly."},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"Even if a simplified pagination mechanism was implemented in Ceilomented it"},{"line_number":53,"context_line":"does not address the need of a default/configuration setting to avoid returning"},{"line_number":54,"context_line":"all the data in the database."},{"line_number":55,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a961159_847ea117","line":52,"in_reply_to":"3a961159_dd9f2c4f","updated":"2014-12-11 14:58:35.000000000","message":"Thanks. I will change it","commit_id":"531b2265bf2db3a2668bb06a7803413f4ea2a06d"},{"author":{"_account_id":8290,"name":"liusheng","email":"liusheng2048@gmail.com","username":"LiuSheng"},"change_message_id":"0735927751a72ebba49daf7d39c982baf40b0b9c","unresolved":false,"context_lines":[{"line_number":78,"context_line":""},{"line_number":79,"context_line":"End users benefits from this feature avoiding potential time out."},{"line_number":80,"context_line":"Horizon now have the ability to efficiently paginate content requesting the"},{"line_number":81,"context_line":"first batch and subsequents (if needed) simply making other requests using the"},{"line_number":82,"context_line":"provided links as part of the response."},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"Performance/Scalability Impacts"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a961159_bd3ee027","line":81,"updated":"2014-12-08 03:45:01.000000000","message":"This is really a  necessary requirement :)","commit_id":"531b2265bf2db3a2668bb06a7803413f4ea2a06d"},{"author":{"_account_id":7052,"name":"Fabio Giannetti","email":"fgiannet@cisco.com","username":"fabgia"},"change_message_id":"50bbd6c3c2989c80868630955a4e2ec0a45941a4","unresolved":false,"context_lines":[{"line_number":78,"context_line":""},{"line_number":79,"context_line":"End users benefits from this feature avoiding potential time out."},{"line_number":80,"context_line":"Horizon now have the ability to efficiently paginate content requesting the"},{"line_number":81,"context_line":"first batch and subsequents (if needed) simply making other requests using the"},{"line_number":82,"context_line":"provided links as part of the response."},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"Performance/Scalability Impacts"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a961159_44af597d","line":81,"in_reply_to":"3a961159_bd3ee027","updated":"2014-12-11 14:58:35.000000000","message":"Yes. There are several REST API that behave this way. Some will allow to get the data in chunks (same as I am advocating here) some will give you the \"remaining\" part. If the Client really needs all the data it will use the links to retrieve all the data","commit_id":"531b2265bf2db3a2668bb06a7803413f4ea2a06d"}]}
