-
Throttler: How does the target-side and source-side components of OnlineDDL request the services of the throttler? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
source:rowStreamer: in
vstreamer: in
target:vcopier: in
vplayer: in
As you can see, both the target and source side call the trottler in a loop and only jump out of the loop when it returns ok. In addition, the source side will send a heartbeat packet when the throttler returns non-ok, which is supposed to inform the other side that the connection is not broken, but just can't send data temporarily due to throttling. The relationship among the functions about throttler request mentioned above is as follows, you can find that they finally call the function
|
Beta Was this translation helpful? Give feedback.
source:
rowStreamer: in
streamQuery
functionvstreamer: in
parseEvents
function