wal: add interface WriteAheadLog.
wal: add interface WriteAheadLog.

neverchanje/consensus-yaraft,neverchanje/consensus-yaraft,neverchanje/consensus-yaraft,neverchanje/consensus-yaraft,neverchanje/yaraft-wal,neverchanje/yaraft-wal,neverchanje/yaraft-wal