From 53a0b35d67d5d0a2d9049511a121be73ee51e30f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=BE=B7=E5=BF=97?= Date: Sun, 31 May 2020 15:36:45 +0800 Subject: [PATCH 1/2] fix support set nettyMaxFrameSizeBytes on bookeeper config --- conf/bookkeeper.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/bookkeeper.conf b/conf/bookkeeper.conf index 869a35ee91216..44c58e7af923e 100644 --- a/conf/bookkeeper.conf +++ b/conf/bookkeeper.conf @@ -268,6 +268,9 @@ serverTcpNoDelay=true # The Recv ByteBuf allocator max buf size. # byteBufAllocatorSizeMax=1048576 +# The maximum netty frame size in bytes. Any message received larger than this will be rejeted. Default value is 1G. +nettyMaxFrameSizeBytes=1073741824 + ############################################################################# ## Journal settings ############################################################################# From 4c9594dd69a0eb98ab8834e1262a877bf7a59382 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=BE=B7=E5=BF=97?= Date: Mon, 1 Jun 2020 14:17:40 +0800 Subject: [PATCH 2/2] modify the nettyMaxFrameSizeBytes default value --- conf/bookkeeper.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/bookkeeper.conf b/conf/bookkeeper.conf index 44c58e7af923e..892436161bae6 100644 --- a/conf/bookkeeper.conf +++ b/conf/bookkeeper.conf @@ -268,8 +268,8 @@ serverTcpNoDelay=true # The Recv ByteBuf allocator max buf size. # byteBufAllocatorSizeMax=1048576 -# The maximum netty frame size in bytes. Any message received larger than this will be rejeted. Default value is 1G. -nettyMaxFrameSizeBytes=1073741824 +# The maximum netty frame size in bytes. Any message received larger than this will be rejected. The default value is 1G. +nettyMaxFrameSizeBytes=5253120 ############################################################################# ## Journal settings