3835: PySDK raises NotFoundError when all Keep services report such.
authorBrett Smith <brett@curoverse.com>
Wed, 14 Jan 2015 20:22:24 +0000 (15:22 -0500)
committerBrett Smith <brett@curoverse.com>
Thu, 15 Jan 2015 16:55:13 +0000 (11:55 -0500)
commit1acdfd97cb761eed9357b8c0e59ab80dc56c2652
tree3183e91481998984b5bf47b9ed5cf82cdda4b897
parent079a14ebb221f2f0b4aa9eca266cc3efb8eb0150
3835: PySDK raises NotFoundError when all Keep services report such.

Previously, we raised this error when >= 75% of services reported
such, as the most reasonable available cutoff to make the
distinction.  Now that Keep exceptions include detailed information
about the error from each service, it seems useful to make this
threshold stricter, and only raise NotFoundError when we're sure
that's the problem.  See further discussion from
<https://arvados.org/issues/3835#note-11>.
sdk/python/arvados/keep.py