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:
[email protected]


With regards,
Apache Git Services

Reply via email to