ruojieranyishen opened a new pull request, #2126:
URL: https://github.com/apache/incubator-pegasus/pull/2126

   FLAGS_max_copy_rate_megabytes_per_disk will use `sleep_for` function to 
block THREAD_POOL_DEFAULT. It's cause replica server cannot deal `remote 
command`. This modify is same as FLAGS_max_send_rate_megabytes_per_disk, only 
use THREAD_POOL_BLOCK_SERVICE to sleep.
   
   ### What problem does this PR solve? <!--add issue link with summary if 
exists-->
   relate issue:https://github.com/apache/incubator-pegasus/issues/1969
   
   avoid learn use DEFAULT_POOL.
   
   - Manual test (add detailed scripts or steps below)
   
   Before fix, many partitions ballot increase, and remote_command cannot get 
response.
   `0     6       3/3            10.000.000.04:00001  
[00.000.00.50:55101,00.000.90.9:55000]     
   1     7       3/3            10.000.000.05:00001  
[00.000.000.04:55101,10.000.07.9:50001]    
   2     5       3/3            10.000.002.07:00001  
[00.000.000.04:55101,10.000.00.52:00001]   
   3     9       3/3            10.000.000.04:00001  
[00.000.00.50:55101,00.000.100.15:00001]`
   
   After fix, return to normal.
   `
   0     0       3/3            10.000.000.04:00001  
[00.000.00.50:55101,00.000.90.9:55000]     
   1     0       3/3            10.000.000.05:00001  
[00.000.000.04:55101,10.000.07.9:50001]    
   2     0       3/3            10.000.002.07:00001  
[00.000.000.04:55101,10.000.00.52:00001]   
   3     0       3/3            10.000.000.04:00001  
[00.000.00.50:55101,00.000.100.15:00001]
   `
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to