feat: impl Logstore::read by LogFile::create_stream (#124)

* feat: bridge LogStore::read to LogFile::create_stream

* fix some CR comments
This commit is contained in:
Lei, Huang
2022-08-02 11:14:28 +08:00
committed by GitHub
parent 96b4ed01f7
commit 868098d2b7
5 changed files with 40 additions and 27 deletions

View File

@@ -127,7 +127,7 @@ impl<S: LogStore> Wal<S> {
let res = self
.store
.append(ns, e)
.append(&ns, e)
.await
.map_err(BoxedError::new)
.context(error::WriteWalSnafu { name: self.name() })?;