mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benno Evers <bev...@mesosphere.com>
Subject Re: Review Request 64506: Correctly reset slave status when aborting a registration.
Date Mon, 18 Dec 2017 11:34:53 GMT


> On Dec. 14, 2017, 9:37 p.m., Benjamin Mahler wrote:
> > Could you please file a ticket that describes the bug from what a user would experience,
and link that in to the review? I would like to target it for backporting, seems pretty bad.

Here you go: https://issues.apache.org/jira/browse/MESOS-8341

I think it looks worse than it is in practice, most of these code paths will almost never
be hit, and it can be worked-around with a master restart.


- Benno


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


On Dec. 14, 2017, 3:32 p.m., Benno Evers wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/64506/
> -----------------------------------------------------------
> 
> (Updated Dec. 14, 2017, 3:32 p.m.)
> 
> 
> Review request for mesos and Benjamin Mahler.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Previously, the slave was not erased from the `registering`
> and `reregistering` sets in the master for some code paths
> that would result in a failed (re-)registration attempt.
> 
> This could lead to a state where the reason of the unsuccessful
> (re-)registration attempt is fixed on the agent, but the master
> ignores subsequent attempts because it assumes the previous
> operation is still in progress.
> 
> 
> Diffs
> -----
> 
>   src/master/master.cpp b3e074cfe86600793310deb87932fa145e95055d 
>   src/tests/master_tests.cpp 7b087675200fe0ca69319b715997700a91d9f6b2 
> 
> 
> Diff: https://reviews.apache.org/r/64506/diff/2/
> 
> 
> Testing
> -------
> 
> `make check`
> 
> 
> Thanks,
> 
> Benno Evers
> 
>


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