[ https://issues.apache.org/jira/browse/RATIS-425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16754469#comment-16754469 ]
Vladimir Rodionov commented on RATIS-425: ----------------------------------------- [~elserj] can you push it? The Apache is not working for me yet. id.apache.org rejects my Apache credentials. > LogReader#readBulk should validate that a positive number of records was > provided > --------------------------------------------------------------------------------- > > Key: RATIS-425 > URL: https://issues.apache.org/jira/browse/RATIS-425 > Project: Ratis > Issue Type: Improvement > Components: LogService > Reporter: Josh Elser > Assignee: Vladimir Rodionov > Priority: Trivial > Labels: newbie > Attachments: RATIS-425-v1.patch > > > Presently, you can ask the LogReader for {{0}} records via the method > {{#readBulk(int)}}. That's pretty silly. > We should validate that the user is strictly asking for one or more records > from the LogReader. > Same goes for the {{LogReader#readBulk(List)}} variant -- we should require > that the provided list be at least size one. -- This message was sent by Atlassian JIRA (v7.6.3#76005)