mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrei Sekretenko <asekrete...@mesosphere.io>
Subject Re: Review Request 72368: Fixed a bug in the agent's draining handler.
Date Fri, 17 Apr 2020 15:40:06 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/72368/#review220348
-----------------------------------------------------------


Ship it!




Btw, why did you mark this patch as depending on https://reviews.apache.org/r/72364/ ? 

I would say this is the other way round: after this one is committed, I'll be able to properly
use the offer in the test in r72364.

- Andrei Sekretenko


On April 15, 2020, 9:28 p.m., Greg Mann wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/72368/
> -----------------------------------------------------------
> 
> (Updated April 15, 2020, 9:28 p.m.)
> 
> 
> Review request for mesos, Andrei Sekretenko and Benjamin Mahler.
> 
> 
> Bugs: MESOS-10118
>     https://issues.apache.org/jira/browse/MESOS-10118
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Previously, when the agent had no tasks or operations and
> received a `DrainSlaveMessage`, it would checkpoint the
> `DrainConfig` to disk, implicitly placing it into a "draining"
> state indefinitely. This patch update's the agent's handler to
> avoid checkpointing anything to disk in this case.
> 
> 
> Diffs
> -----
> 
>   src/slave/slave.cpp 1a32c813eeacf21b903db3f9602d034e7fb085c0 
> 
> 
> Diff: https://reviews.apache.org/r/72368/diff/1/
> 
> 
> Testing
> -------
> 
> Ran the test in https://reviews.apache.org/r/72364/ with this patch applied and verified
that the final task reached TASK_RUNNING.
> 
> 
> Thanks,
> 
> Greg Mann
> 
>


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