Re: Review Request 69912: Added agent/RP IDs to some operation updates generated by the master.

2019-02-07 Thread Gastón Kleiman

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

(Updated Feb. 7, 2019, 1:54 p.m.)


Review request for mesos, Greg Mann and Joseph Wu.


Changes
---

Rebased chain.


Bugs: MESOS-9559
https://issues.apache.org/jira/browse/MESOS-9559


Repository: mesos


Description
---

This patch makes the master include the agent and resource provider IDs
in the OPERATION_GONE_BY_OPERATOR and OPERATION_UNREACHABLE operation
status updates that it generates.


Diffs (updated)
-

  src/master/master.cpp 4c9ef2528d0ab74b565dcb03d05c5189d0aa0c0f 


Diff: https://reviews.apache.org/r/69912/diff/2/

Changes: https://reviews.apache.org/r/69912/diff/1-2/


Testing
---

`bin/mesos-tests.sh` passed


Thanks,

Gastón Kleiman



Re: Review Request 69912: Added agent/RP IDs to some operation updates generated by the master.

2019-02-07 Thread Gastón Kleiman


> On Feb. 7, 2019, 10:15 a.m., Greg Mann wrote:
> > src/master/master.cpp
> > Lines 9089 (patched)
> > 
> >
> > s/Some(resourceProviderId.get())/resourceProviderId/

Note that `resourceProviderId` is a `Result` and not an `Option`, so the 
compiler won't like that:

```
../src/master/master.cpp:9088:11: error: no viable conversion from 
'Result' to 'const Option'
  resourceProviderId.isSome()
  ^~~
```


- Gastón


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


On Feb. 6, 2019, 2:04 p.m., Gastón Kleiman wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/69912/
> ---
> 
> (Updated Feb. 6, 2019, 2:04 p.m.)
> 
> 
> Review request for mesos, Greg Mann and Joseph Wu.
> 
> 
> Bugs: MESOS-9559
> https://issues.apache.org/jira/browse/MESOS-9559
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> This patch makes the master include the agent and resource provider IDs
> in the OPERATION_GONE_BY_OPERATOR and OPERATION_UNREACHABLE operation
> status updates that it generates.
> 
> 
> Diffs
> -
> 
>   src/master/master.cpp 4c9ef2528d0ab74b565dcb03d05c5189d0aa0c0f 
> 
> 
> Diff: https://reviews.apache.org/r/69912/diff/1/
> 
> 
> Testing
> ---
> 
> `bin/mesos-tests.sh` passed
> 
> 
> Thanks,
> 
> Gastón Kleiman
> 
>



Re: Review Request 69912: Added agent/RP IDs to some operation updates generated by the master.

2019-02-07 Thread Greg Mann

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


Fix it, then Ship it!





src/master/master.cpp
Lines 9089 (patched)


s/Some(resourceProviderId.get())/resourceProviderId/


- Greg Mann


On Feb. 6, 2019, 10:04 p.m., Gastón Kleiman wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/69912/
> ---
> 
> (Updated Feb. 6, 2019, 10:04 p.m.)
> 
> 
> Review request for mesos, Greg Mann and Joseph Wu.
> 
> 
> Bugs: MESOS-9559
> https://issues.apache.org/jira/browse/MESOS-9559
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> This patch makes the master include the agent and resource provider IDs
> in the OPERATION_GONE_BY_OPERATOR and OPERATION_UNREACHABLE operation
> status updates that it generates.
> 
> 
> Diffs
> -
> 
>   src/master/master.cpp 4c9ef2528d0ab74b565dcb03d05c5189d0aa0c0f 
> 
> 
> Diff: https://reviews.apache.org/r/69912/diff/1/
> 
> 
> Testing
> ---
> 
> `bin/mesos-tests.sh` passed
> 
> 
> Thanks,
> 
> Gastón Kleiman
> 
>



Review Request 69912: Added agent/RP IDs to some operation updates generated by the master.

2019-02-06 Thread Gastón Kleiman

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

Review request for mesos, Greg Mann and Joseph Wu.


Bugs: MESOS-9559
https://issues.apache.org/jira/browse/MESOS-9559


Repository: mesos


Description
---

This patch makes the master include the agent and resource provider IDs
in the OPERATION_GONE_BY_OPERATOR and OPERATION_UNREACHABLE operation
status updates that it generates.


Diffs
-

  src/master/master.cpp 4c9ef2528d0ab74b565dcb03d05c5189d0aa0c0f 


Diff: https://reviews.apache.org/r/69912/diff/1/


Testing
---

`bin/mesos-tests.sh` passed


Thanks,

Gastón Kleiman