ilogtail icon indicating copy to clipboard operation
ilogtail copied to clipboard

judge allowRollback first to improve performance

Open blueskygzhz opened this issue 9 months ago • 1 comments

blueskygzhz avatar Apr 29 '24 03:04 blueskygzhz

麻烦说明一下变动的背景

henryzhx8 avatar May 13 '24 06:05 henryzhx8

allowRollback 为false的请求下应该直接返回size, 现在的实现是先从后往前做一遍看有没有不完整json数据,然后再判定allowRollback , 做了很多无用功,cpu消耗比较严重

blueskygzhz avatar May 29 '24 04:05 blueskygzhz