File tree 1 file changed +0
-6
lines changed
1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -28,13 +28,10 @@ pub struct DoNothing;
28
28
29
29
#[ async_trait]
30
30
impl WalManager for DoNothing {
31
- /// Get current sequence number.
32
31
async fn sequence_num ( & self , _location : WalLocation ) -> Result < SequenceNumber > {
33
32
Ok ( 0 )
34
33
}
35
34
36
- /// Mark the entries whose sequence number is in [0, `sequence_number`] to
37
- /// be deleted in the future.
38
35
async fn mark_delete_entries_up_to (
39
36
& self ,
40
37
_location : WalLocation ,
@@ -43,17 +40,14 @@ impl WalManager for DoNothing {
43
40
Ok ( ( ) )
44
41
}
45
42
46
- /// Close a region.
47
43
async fn close_region ( & self , _region : RegionId ) -> Result < ( ) > {
48
44
Ok ( ( ) )
49
45
}
50
46
51
- /// Close the wal gracefully.
52
47
async fn close_gracefully ( & self ) -> Result < ( ) > {
53
48
Ok ( ( ) )
54
49
}
55
50
56
- /// Provide iterator on necessary entries according to `ReadRequest`.
57
51
async fn read_batch (
58
52
& self ,
59
53
_ctx : & ReadContext ,
You can’t perform that action at this time.
0 commit comments