[ https://issues.apache.org/jira/browse/RATIS-425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Josh Elser updated RATIS-425: ----------------------------- Labels: newbie (was: ) > 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 > Priority: Trivial > Labels: newbie > > 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)