Commit ed91bc0 1 parent 8808899 commit ed91bc0 Copy full SHA for ed91bc0
File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,8 @@ export String BufferStatusToString(BufferStatus status) {
48
48
return " Freed" ;
49
49
case BufferStatus::kNew :
50
50
return " New" ;
51
+ case BufferStatus::kClean :
52
+ return " Clean" ;
51
53
default :
52
54
return " Invalid" ;
53
55
}
@@ -77,7 +79,7 @@ public:
77
79
78
80
void CleanupFile () const ;
79
81
80
- void CleanupTempFile () const ;
82
+ void CleanupTempFile () const ;
81
83
82
84
SizeT GetBufferSize () const { return file_worker_->GetMemoryCost (); }
83
85
Original file line number Diff line number Diff line change @@ -237,6 +237,7 @@ TxnTimeStamp TxnManager::GetCleanupScanTS() {
237
237
auto first_txn = beginned_txns_.front ().lock ();
238
238
if (first_txn.get () != nullptr ) {
239
239
first_uncommitted_begin_ts = first_txn->BeginTS ();
240
+ break ;
240
241
}
241
242
beginned_txns_.pop_front ();
242
243
}
You can’t perform that action at this time.
0 commit comments