Perform one retry on any discovery failure

The discovery phase of mapper is very CPU intensive on the BMC.
Situations have arisen, especially on BMC resets with the host
up, where a timeout occurs when mapper is discovering an object
on the dbus. The effects of mapper not discovering an object
can have large impacts to the system.

Testing: Validated in QEMU that the retry path was hit and the
retry successfully discovered the object. Verified on a witherspoon
that the retry path was hit and was successful.

Change-Id: I9f05a635c27af744a9deb882deb748804d6ee660
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
1 file changed
tree: f435b9356b78c39274cfafd5e7e23b8c64b2881e
  1. fail-monitor/
  2. libmapper/
  3. obmc/
  4. .gitignore
  5. bootstrap.sh
  6. configure.ac
  7. LICENSE
  8. Makefile.am
  9. phosphor-mapper
  10. README.md
  11. setup.cfg
  12. setup.py.in
README.md

To Build

To build this package, do the following steps:

    1. ./bootstrap.sh
    2. ./configure ${CONFIGURE_FLAGS}
    3. make

To full clean the repository again run `./bootstrap.sh clean`.