Hi,
Can you tell me which function writes the log file on bookie server side?
I found in Bookie.java, we have two functions to do the logaddentry when
run the benchmark writes,

getLedgerForEntry(){
journal.logAddEntry(bb, new NopWriteCallback(), null);
}

addEntryInternal(LedgerDescriptor handle, ByteBuffer entry, WriteCallback
cb, Object ctx){
journal.logAddEntry(entry, cb, ctx);
}

Can you plz tell me what's the difference? Which one actually writes the
log into persistent disk?
Thanks much.


Best,
Jaln

Reply via email to