Clone
Murtadha Makki Al Hubail
committed
on 25 Sep 18
[NO ISSUE][NET] Avoid Sleeping The Network Thread on Failures
- user model changes: no
- storage format changes: no
- interface changes: no… Show more
[NO ISSUE][NET] Avoid Sleeping The Network Thread on Failures

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- We currently sleep the networking thread incrementally with

 every failure. This sleep was added to avoid CPU spinning

 back when failures on pending networking operations were not

 handled properly which led to processing the same networking

 message that caused the failure over and over. This sleep is

 not needed anymore since every failed read/write/send/connect

 network operations will not be attempted again.

Change-Id: I9f7ddc088868f8cf4d0a15ec5349021af8ccae36

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2978

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Michael Blow <mblow@apache.org>

Show less