-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/70368/#review214498
-----------------------------------------------------------
Patch looks great!
Reviews applied: [70367, 70368]
Passed command: export OS='ubuntu:14.04' BUILDTOOL='autotools' COMPILER='gcc' CONFIGURATION='--verbose
--disable-libtool-wrappers --disable-parallel-test-execution' ENVIRONMENT='GLOG_v=1 MESOS_VERBOSE=1';
./support/docker-build.sh
- Mesos Reviewbot
On April 9, 2019, 5:54 p.m., Benjamin Bannier wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/70368/
> -----------------------------------------------------------
>
> (Updated April 9, 2019, 5:54 p.m.)
>
>
> Review request for mesos, Chun-Hung Hsiao and Greg Mann.
>
>
> Bugs: MESOS-9667
> https://issues.apache.org/jira/browse/MESOS-9667
>
>
> Repository: mesos
>
>
> Description
> -------
>
> When recovering and reusing the same agent ID the resource provider
> manager can be initialized before e.g., recovering executors. This patch
> move the initialization to such an earlier point. This e.g., allows to
> successfully publish resources via the manager when HTTP-based executors
> resubscribe which previously ran into an assertion failure.
>
> If the agent ID is not reused we still need to wait for the agent to
> register with the master which would assign an agent ID. In that case we
> do not expect any executors to resubscribe.
>
>
> Diffs
> -----
>
> src/slave/slave.cpp 5373cee5d30c2403497939eeba2ee5405117237e
> src/tests/slave_tests.cpp 528a25a837513f153de2a5e89897440144385633
>
>
> Diff: https://reviews.apache.org/r/70368/diff/3/
>
>
> Testing
> -------
>
> * `make check`
> * the test fails without the agent change
> * ran the test for 17000 iterations without failures (failure rate <1% with 66% certainty)
>
>
> Thanks,
>
> Benjamin Bannier
>
>
|