[
https://issues.apache.org/jira/browse/IGNITE-7901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18077695#comment-18077695
]
Dmitry Pavlov commented on IGNITE-7901:
---------------------------------------
most likely this code is outdated and was refactored
> Refactor Pages Write Throttle: introduce exponential throttle as separate
> class
> -------------------------------------------------------------------------------
>
> Key: IGNITE-7901
> URL: https://issues.apache.org/jira/browse/IGNITE-7901
> Project: Ignite
> Issue Type: Improvement
> Affects Versions: 2.5
> Reporter: Ivan Rakov
> Assignee: Dmitry Pavlov
> Priority: Major
>
> After IGNITE-7751 fix, we have three incarnations of Pages Write Throttle:
> 1) Only checkpoint buffer throttling - always on
> 2) Ratio based throttling - legacy
> 3) Speed based throttling - default when throttling is enabled
> However, all three options use exponential throttling for preventing
> checkpoint buffer overflow (seeĀ
> PagesWriteSpeedBasedThrottle.ThrottleMode#EXPONENTIAL usages andĀ
> isPageInCheckpoint branch of PagesWriteThrottle).
> For the sake of getting rid of copypaste, it would be better to refactor this
> and introduce exponential throttling to separate class. Two callbacks now
> will be called instead of one, but code will become nicer.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)