Don't return errors when busy

Respond to method calls when the mapper is in the
middle of processing a NameOwnerChanged signal, rather
than returning ObjectPathInUse.

Prior to this patch mapper responses guaranteed causal ordering.
This patch removes that guarantee in order to remove the need
for operation retries.

Achieving both causal ordering and blocking responses is not possible
with python-dbus without additional threads.  This workaround will
serve as a mitigation until the mapper can be written with sdbus
bindings that do not have the limitations of python-dbus.

Resolves openbmc/openbmc#1145

Change-Id: Idc21a11d7cc815bc8d0fcb7f18edc63bfed14da9
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
1 file changed
tree: 474e0826b2b675ac4232bfe2f79c3aaff78e1ba0
  1. libmapper/
  2. obmc/
  3. .gitignore
  4. bootstrap.sh
  5. configure.ac
  6. LICENSE
  7. Makefile.am
  8. phosphor-mapper
  9. README.md
  10. 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`.