[SCN] modify missing scenes

This commit is contained in:
obdev
2022-11-28 02:48:01 +00:00
committed by ob-robot
parent ac437d2f56
commit 68151eb87a
217 changed files with 2178 additions and 1196 deletions

View File

@ -208,14 +208,6 @@ public:
virtual OB_INLINE share::ObScnRange &get_scn_range() { return key_.scn_range_; }
virtual OB_INLINE bool is_trans_state_deterministic() { return get_upper_trans_version() < INT64_MAX; }
virtual int64_t get_snapshot_version() const { return key_.get_snapshot_version(); }
// TODO: remove it
virtual palf::SCN get_snapshot_version_scn() const
{
palf::SCN scn;
// TODO qianchen, ret_code for convert_for_tx.
scn.convert_for_tx(key_.get_snapshot_version());
return scn;
}
virtual int64_t get_upper_trans_version() const { return get_snapshot_version(); }
virtual int64_t get_max_merged_trans_version() const { return get_snapshot_version(); }
virtual int get_frozen_schema_version(int64_t &schema_version) const = 0;