write inc direct load macro block sync
This commit is contained in:
parent
8d3e2c2e76
commit
e63b69a7b6
@ -27,7 +27,7 @@ class ObIMacroBlockFlushCallback
|
||||
public:
|
||||
ObIMacroBlockFlushCallback() {}
|
||||
virtual ~ObIMacroBlockFlushCallback() {}
|
||||
virtual int write(const ObMacroBlockHandle ¯o_handle,
|
||||
virtual int write(ObMacroBlockHandle ¯o_handle,
|
||||
const ObLogicMacroBlockId &logic_id,
|
||||
char *buf,
|
||||
const int64_t buf_len,
|
||||
|
@ -711,7 +711,7 @@ void ObDDLIncRedoLogWriterCallback::reset()
|
||||
}
|
||||
|
||||
int ObDDLIncRedoLogWriterCallback::write(
|
||||
const ObMacroBlockHandle ¯o_handle,
|
||||
ObMacroBlockHandle ¯o_handle,
|
||||
const ObLogicMacroBlockId &logic_id,
|
||||
char *buf,
|
||||
const int64_t buf_len,
|
||||
@ -724,6 +724,8 @@ int ObDDLIncRedoLogWriterCallback::write(
|
||||
} else if (OB_UNLIKELY(!macro_handle.is_valid() || !logic_id.is_valid() || nullptr == buf || row_count <= 0)) {
|
||||
ret = OB_INVALID_ARGUMENT;
|
||||
LOG_WARN("invalid argument", K(ret), K(macro_handle), K(logic_id), KP(buf), K(row_count));
|
||||
} else if (OB_FAIL(macro_handle.wait())) {
|
||||
STORAGE_LOG(WARN, "macro block writer fail to wait io finish", K(ret));
|
||||
} else {
|
||||
macro_block_id_ = macro_handle.get_macro_id();
|
||||
redo_info_.table_key_ = table_key_;
|
||||
|
@ -129,7 +129,7 @@ public:
|
||||
const transaction::ObTransID &trans_id);
|
||||
void reset();
|
||||
int write(
|
||||
const blocksstable::ObMacroBlockHandle ¯o_handle,
|
||||
blocksstable::ObMacroBlockHandle ¯o_handle,
|
||||
const blocksstable::ObLogicMacroBlockId &logic_id,
|
||||
char *buf,
|
||||
const int64_t buf_len,
|
||||
|
@ -1574,7 +1574,7 @@ bool ObDDLRedoLogWriterCallback::is_column_group_info_valid() const
|
||||
return table_key_.is_column_store_sstable() && row_id_offset_ >= 0;
|
||||
}
|
||||
|
||||
int ObDDLRedoLogWriterCallback::write(const ObMacroBlockHandle ¯o_handle,
|
||||
int ObDDLRedoLogWriterCallback::write(ObMacroBlockHandle ¯o_handle,
|
||||
const ObLogicMacroBlockId &logic_id,
|
||||
char *buf,
|
||||
const int64_t buf_len,
|
||||
|
@ -378,7 +378,7 @@ public:
|
||||
const int64_t row_id_offset = -1);
|
||||
void reset();
|
||||
int write(
|
||||
const blocksstable::ObMacroBlockHandle ¯o_handle,
|
||||
blocksstable::ObMacroBlockHandle ¯o_handle,
|
||||
const blocksstable::ObLogicMacroBlockId &logic_id,
|
||||
char *buf,
|
||||
const int64_t buf_len,
|
||||
|
Loading…
x
Reference in New Issue
Block a user