You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by Vinod Kone <vi...@gmail.com> on 2013/01/03 21:36:38 UTC
Re: Review Request: Refactored protobuf read() to return the protobuf.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/8696/#review15053
-----------------------------------------------------------
Ship it!
ty
third_party/libprocess/include/stout/protobuf.hpp
<https://reviews.apache.org/r/8696/#comment32611>
doesn't read right.
how about:
size byes. Hitting EOF early is a good indicator of corruption.
- Vinod Kone
On Dec. 20, 2012, 5:29 a.m., Ben Mahler wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/8696/
> -----------------------------------------------------------
>
> (Updated Dec. 20, 2012, 5:29 a.m.)
>
>
> Review request for mesos, Benjamin Hindman and Vinod Kone.
>
>
> Description
> -------
>
> This is a cleaner way to expose protobuf reads.
>
> Simplifies the signature and the state space of possible results returning from the read.
>
>
> Diffs
> -----
>
> src/tests/protobuf_io_tests.cpp 979efac0f28c3d361f5c347f15933d89d9356bc9
> third_party/libprocess/include/stout/protobuf.hpp d2b5daedb878fcf04bc38ba912ffc0ca9a930729
>
> Diff: https://reviews.apache.org/r/8696/diff/
>
>
> Testing
> -------
>
> make check
>
>
> Thanks,
>
> Ben Mahler
>
>
Re: Review Request: Refactored protobuf read() to return the protobuf.
Posted by Ben Mahler <be...@gmail.com>.
> On Jan. 3, 2013, 8:36 p.m., Vinod Kone wrote:
> > third_party/libprocess/include/stout/protobuf.hpp, line 107
> > <https://reviews.apache.org/r/8696/diff/1/?file=241576#file241576line107>
> >
> > doesn't read right.
> >
> > how about:
> >
> > size byes. Hitting EOF early is a good indicator of corruption.
Fixed in previous review: https://reviews.apache.org/r/8695
- Ben
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/8696/#review15053
-----------------------------------------------------------
On Dec. 20, 2012, 5:29 a.m., Ben Mahler wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/8696/
> -----------------------------------------------------------
>
> (Updated Dec. 20, 2012, 5:29 a.m.)
>
>
> Review request for mesos, Benjamin Hindman and Vinod Kone.
>
>
> Description
> -------
>
> This is a cleaner way to expose protobuf reads.
>
> Simplifies the signature and the state space of possible results returning from the read.
>
>
> Diffs
> -----
>
> src/tests/protobuf_io_tests.cpp 979efac0f28c3d361f5c347f15933d89d9356bc9
> third_party/libprocess/include/stout/protobuf.hpp d2b5daedb878fcf04bc38ba912ffc0ca9a930729
>
> Diff: https://reviews.apache.org/r/8696/diff/
>
>
> Testing
> -------
>
> make check
>
>
> Thanks,
>
> Ben Mahler
>
>