提交 eead0516 编写于 作者: O obdev 提交者: wangzelin.wzl

[bugfix]retry to get snapshot version that is 0 when get ls leader location failed.

上级 3bdf2f55
......@@ -20,6 +20,7 @@
#include "share/ob_srv_rpc_proxy.h"
#include "share/ob_debug_sync.h"
#include "share/ob_common_rpc_proxy.h"
#include "share/location_cache/ob_location_struct.h"
#include "share/schema/ob_table_schema.h"
#include "share/schema/ob_multi_version_schema_service.h"
#include "share/schema/ob_schema_struct.h"
......@@ -828,7 +829,6 @@ int ObDDLWaitTransEndCtx::try_wait(bool &is_trans_end, int64_t &snapshot_version
}
}
is_trans_end = is_trans_end_;
ret = OB_LS_LOCATION_LEADER_NOT_EXIST == ret ? OB_SUCCESS : ret;
return ret;
}
......@@ -1066,9 +1066,6 @@ int ObDDLWaitColumnChecksumCtx::try_wait(bool &is_column_checksum_ready)
}
}
is_column_checksum_ready = is_calc_done_;
if (OB_LS_LOCATION_LEADER_NOT_EXIST == ret) {
ret = OB_SUCCESS;
}
return ret;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册