greatsharp opened a new pull request, #3077:
URL: https://github.com/apache/kvrocks/pull/3077

   Why does OOM happened when doing migration?
   - If slot only has string or other no-subkey data, then batch_sender will 
put raw-key data continuously, it makes rep_ string in WriteBatch class append 
string continuously, then OOM at last.
   
   Why should we sleep for a while when function 'SockReadLine' ?
    - If we send a big data by APPLYBATCH command to destination node, the 
destination node could not process this command rapidly, it will report 
'Resource temporarily unavailable' error if we read response immediately.
    - So we should sleep for a while then retry reading from fd.


-- 
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]

Reply via email to