----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34440/#review84421 -----------------------------------------------------------
Does it make sense for the reconciler to run in parallel with the GC executor mechanism? It seems fine to me, but I would like some re-assurance here. src/main/java/org/apache/aurora/scheduler/async/AsyncModule.java <https://reviews.apache.org/r/34440/#comment135664> This seems a little hacky, is there a reason why we cannot have an --enable_reconciliation flag? If disabled we can bind TaskReconciler to an implementation that does nothing. src/main/java/org/apache/aurora/scheduler/async/TaskReconciler.java <https://reviews.apache.org/r/34440/#comment135665> Please rename TIME to something that is more representitive of what it holds. src/main/java/org/apache/aurora/scheduler/async/TaskReconciler.java <https://reviews.apache.org/r/34440/#comment135667> Linking to http://mesos.apache.org/documentation/latest/reconciliation/ or briefly explaining what is expected here would be nice. src/main/java/org/apache/aurora/scheduler/async/TaskReconciler.java <https://reviews.apache.org/r/34440/#comment135671> Unrelated to this diff, but can you please explain how the StatusUpdates triggered from `reconcileTasks` are handled? src/main/java/org/apache/aurora/scheduler/async/TaskReconciler.java <https://reviews.apache.org/r/34440/#comment135666> perhaps we should call `executor.shutdownNow` here? src/test/java/org/apache/aurora/scheduler/async/JobUpdateHistoryPrunerTest.java <https://reviews.apache.org/r/34440/#comment135670> How is this related to this diff? - Zameer Manji On May 19, 2015, 3:50 p.m., Maxim Khutornenko wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/34440/ > ----------------------------------------------------------- > > (Updated May 19, 2015, 3:50 p.m.) > > > Review request for Aurora, Ben Mahler, Kevin Sweeney, and Zameer Manji. > > > Bugs: AURORA-1047 > https://issues.apache.org/jira/browse/AURORA-1047 > > > Repository: aurora > > > Description > ------- > > Adding a new service to request explict/implicit task reconciliations on a > periodic basis. The reconciler is OFF by default until the GC executor code > is removed. > > > Diffs > ----- > > src/jmh/java/org/apache/aurora/benchmark/fakes/FakeDriver.java > 316ab1c06ce63c9a3f7232264d30a40f487fc45c > src/main/java/org/apache/aurora/scheduler/async/AsyncModule.java > e9d47fda3355786a4e68eac5c28490c04bc68cb3 > src/main/java/org/apache/aurora/scheduler/async/TaskReconciler.java > PRE-CREATION > src/main/java/org/apache/aurora/scheduler/mesos/Driver.java > 975ea02b45488608286e743888de25862cc77add > src/main/java/org/apache/aurora/scheduler/mesos/SchedulerDriverService.java > 35cada6160af01c13362fa7c14b9ff8da0300004 > > src/test/java/org/apache/aurora/scheduler/async/JobUpdateHistoryPrunerTest.java > 02e87989a17d95d36e61ffcef2e86c91774972bc > src/test/java/org/apache/aurora/scheduler/async/TaskReconcilerTest.java > PRE-CREATION > > src/test/java/org/apache/aurora/scheduler/testing/FakeScheduledExecutor.java > 2beea4fc1a24c0050898077ecdf6cac2b19fab31 > > Diff: https://reviews.apache.org/r/34440/diff/ > > > Testing > ------- > > ./gradlew -Pq build > > > Thanks, > > Maxim Khutornenko > >