fix restore hang and tenant freeze fail in data_checkpoint flushing

This commit is contained in:
obdev
2023-05-17 15:11:21 +00:00
committed by ob-robot
parent 36608dd357
commit ffb515a326
7 changed files with 26 additions and 8 deletions

View File

@ -75,7 +75,8 @@ public:
// the service will flush and advance checkpoint
// after flush, checkpoint_scn will be equal or greater than recycle_scn
int advance_checkpoint_by_flush(share::SCN recycle_scn = share::SCN::invalid_scn());
int advance_checkpoint_by_flush(
share::SCN recycle_scn = share::SCN::invalid_scn());
// for __all_virtual_checkpoint
int get_checkpoint_info(ObIArray<ObCheckpointVTInfo> &checkpoint_array);
@ -87,6 +88,7 @@ public:
int diagnose(CheckpointDiagnoseInfo &diagnose_info) const;
int traversal_flush() const;
private:
static const int64_t CLOG_GC_PERCENT = 60;