You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2017/12/09 02:34:21 UTC

[GitHub] merlimat opened a new pull request #826: DbLedgerStorage implementation

merlimat opened a new pull request #826: DbLedgerStorage implementation
URL: https://github.com/apache/bookkeeper/pull/826
 
 
   Porting multiple squashed commits from Yahoo branch. 
   
   This change adds a new `LedgerStorage` implementation that uses RocksDB to store the indexes for (ledgerId, entryId) to the data that is still kept in the entry logs.
   
   In addition, there are also a `WriteCache` and a `ReadCache` that are used to completely decouple the read & write paths.
   
   Note: This still has some methods that are not implemented. They are around the features added in 4.5 release: 
   
   ```java
   public long getLastAddConfirmed(long ledgerId) throws IOException;
   public Observable waitForLastAddConfirmedUpdate(long ledgerId, long previoisLAC, Observer observer) throws IOException;
   public void setExplicitlac(long ledgerId, ByteBuf lac) throws IOException;
   public ByteBuf getExplicitLac(long ledgerId);
   ```
   
   These will be implemented in a subsequent commit.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services