aurora-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan Erb" <>
Subject Review Request 39854: Retry scheduler connection after unknown failures
Date Mon, 02 Nov 2015 13:09:33 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for Aurora, Maxim Khutornenko and Bill Farner.

Bugs: AURORA-1533

Repository: aurora


Retry scheduler connection after unknown failures.

The `with_scheduler` decorator used to guard the connection using a check of `self._scheduler_client`.
However, `_construct_scheduler` always sets `self._scheduler_client` even though the actual
thrift client in `self._client` could not be created. This rendered the client useless, as
it can neither dispatch calls to Aurora, nor does it try to re-establish the connection.

Many known classes of connection errors have not been affected by this bug because those are
explicitly handled in `method_wrapper` with a call to `self.invalidate()`.


  src/main/python/apache/aurora/client/api/ 8ff21bf64c4a2e6678299439af42e9a0eeacbc7e

  src/test/python/apache/aurora/client/api/ 1b4ff9cef167de1e4051e6aaa6e4fb6961fd20f1



./pants test.pytest --options=-v src/test/python/apache/aurora/client/api:scheduler_client


Stephan Erb

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message