Re: New BookKeeper Proposal "Allow Reads outside the LAC Protocol"

2017-03-31 Thread Matteo Merli
In this commit from the Yahoo branch we did a similar thing https://github.com/yahoo/bookkeeper/commit/92e2f906f83d997b5cf5ffd2bcfcdbe53ca3bd04 The idea there was to have a CLI tool to dump the content of a ledger, reading all the entries (or a subset of them) without triggering the ledger

Re: New BookKeeper Proposal "Allow Reads outside the LAC Protocol"

2017-03-31 Thread Sijie Guo
After taking a look at the proposal, I am not sure if making it a configuration setting is the right approach. However, I would suggest adding a method called #readUncommittedEntries - it would skip the lac checking. so application can decide whether to use readEntries (to read committed entries)