You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by Zhitao Li <zh...@gmail.com> on 2016/05/05 00:50:14 UTC

Atomicity of multiple OfferOperations

Hi,

Can someone confirm whether whether a sequence of RESERVE, CREATE and
LAUNCH operations are perform atomic or not? For example, if master is
restarted in the middle, is it possible that RESERVE succeeded, but CREATE
for persistent volume failed?

Thanks.

-- 
Cheers,

Zhitao Li

Re: Atomicity of multiple OfferOperations

Posted by Adam Bordelon <ad...@mesosphere.io>.
See also https://issues.apache.org/jira/browse/MESOS-3746

On Wed, May 4, 2016 at 6:13 PM, Benjamin Mahler <bm...@apache.org> wrote:

> It's not done atomically. Yes it's possible that only RESERVE succeeded and
> CREATE was dropped due to a failure in the master or agent.
>
> On Wed, May 4, 2016 at 5:50 PM, Zhitao Li <zh...@gmail.com> wrote:
>
> > Hi,
> >
> > Can someone confirm whether whether a sequence of RESERVE, CREATE and
> > LAUNCH operations are perform atomic or not? For example, if master is
> > restarted in the middle, is it possible that RESERVE succeeded, but
> CREATE
> > for persistent volume failed?
> >
> > Thanks.
> >
> > --
> > Cheers,
> >
> > Zhitao Li
> >
>

Re: Atomicity of multiple OfferOperations

Posted by Benjamin Mahler <bm...@apache.org>.
It's not done atomically. Yes it's possible that only RESERVE succeeded and
CREATE was dropped due to a failure in the master or agent.

On Wed, May 4, 2016 at 5:50 PM, Zhitao Li <zh...@gmail.com> wrote:

> Hi,
>
> Can someone confirm whether whether a sequence of RESERVE, CREATE and
> LAUNCH operations are perform atomic or not? For example, if master is
> restarted in the middle, is it possible that RESERVE succeeded, but CREATE
> for persistent volume failed?
>
> Thanks.
>
> --
> Cheers,
>
> Zhitao Li
>