Skip to content

Commit 1f538cf

Browse files
committed
fix
1 parent bf8fbc9 commit 1f538cf

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/wal/src/dummy.rs

-6
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,10 @@ pub struct DoNothing;
2828

2929
#[async_trait]
3030
impl WalManager for DoNothing {
31-
/// Get current sequence number.
3231
async fn sequence_num(&self, _location: WalLocation) -> Result<SequenceNumber> {
3332
Ok(0)
3433
}
3534

36-
/// Mark the entries whose sequence number is in [0, `sequence_number`] to
37-
/// be deleted in the future.
3835
async fn mark_delete_entries_up_to(
3936
&self,
4037
_location: WalLocation,
@@ -43,17 +40,14 @@ impl WalManager for DoNothing {
4340
Ok(())
4441
}
4542

46-
/// Close a region.
4743
async fn close_region(&self, _region: RegionId) -> Result<()> {
4844
Ok(())
4945
}
5046

51-
/// Close the wal gracefully.
5247
async fn close_gracefully(&self) -> Result<()> {
5348
Ok(())
5449
}
5550

56-
/// Provide iterator on necessary entries according to `ReadRequest`.
5751
async fn read_batch(
5852
&self,
5953
_ctx: &ReadContext,

0 commit comments

Comments
 (0)