[BUGFIX]fail to return over 128M lob

This commit is contained in:
obdev 2022-10-27 09:05:08 +00:00 committed by wangzelin.wzl
parent 2aa5d66757
commit 8fe186fd29
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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();