You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/12/02 12:01:41 UTC

[GitHub] [cloudstack] rohityadavcloud commented on pull request #6942: ssvm: synchorise when adding iptables and routing rules

rohityadavcloud commented on PR #6942:
URL: https://github.com/apache/cloudstack/pull/6942#issuecomment-1335137621

   This is hard to test/reproduce. I think this code is called by multiple threads which can cause xlock/iptables locking issue where the command fails and when it does ip routing rules aren't added. By putting synchronized on the method and logging/trying three times seem to be working in a rare-case env.


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org