aurora-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zameer Manji <>
Subject Re: Review Request 58053: Reliably subscribe to Mesos in the HTTP Driver.
Date Fri, 31 Mar 2017 00:45:33 GMT

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

(Updated March 30, 2017, 5:45 p.m.)

Review request for Aurora and Stephan Erb.



Bugs: AURORA-1911

Repository: aurora


As noted in AURORA-1911 the `V1Mesos` driver doesn't re try `SUBSCRIBE` calls if they fail.
This means that after a leader subscribes and disconnects, it is possible for it to never
re subscribe again if the Mesos Master is unhealthy.

To fix this, I have moved the subscription into the dedicated `SchedulerExecutor` and it coninutes
to attempt to subscribe using truncated binary backoff. It only stops if we are disconnected
or if we sucessfully connect.

Diffs (updated)

  src/jmh/java/org/apache/aurora/benchmark/ 206b11458da2b0f938f0fcab5e5d3259a88ac9ee

  src/main/java/org/apache/aurora/scheduler/mesos/ 5bf1e4e8c46044cb69b266cd203b5ec2f8b9ab61

  src/main/java/org/apache/aurora/scheduler/mesos/ 10d4f1b515b91d85b283cb7c655275c22fb133f9

  src/main/java/org/apache/aurora/scheduler/mesos/ 67d356ab66c926a3b56860b906a453d57d6b694d

  src/test/java/org/apache/aurora/scheduler/mesos/ 756d0d9e30a447f9fba75c1c60f2f2f3c610399b





Zameer Manji

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