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

[BUGFIX]fail to return over 128M lob

上级 2aa5d667
......@@ -1026,9 +1026,9 @@ bool ObMPPacketSender::has_pl()
return has_pl;
}
// current lob will <= 64MB, TODO oushen
// current max_allow_packet_size <= 1G, TODO haozheng
int64_t ObMPPacketSender::TRY_EZ_BUF_SIZES[] = {64*1024, 128*1024, 2*1024*1024 - 1024, 4*1024*1024 - 1024,
64*1024*1024 - 1024, 128*1024*1024};
64*1024*1024 - 1024, 128*1024*1024, 512*1024*1024, 1024*1024*1024};
}; // end namespace observer
......
......@@ -155,7 +155,7 @@ public:
bool has_pl();
private:
static const int64_t MAX_TRY_STEPS = 6;
static const int64_t MAX_TRY_STEPS = 8;
static int64_t TRY_EZ_BUF_SIZES[MAX_TRY_STEPS];
int alloc_ezbuf();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册