----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/69869/#review213229 -----------------------------------------------------------
Ship it! Ship It! - Greg Mann On Feb. 25, 2019, 9 p.m., Joseph Wu wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/69869/ > ----------------------------------------------------------- > > (Updated Feb. 25, 2019, 9 p.m.) > > > Review request for mesos, Benno Evers, Gastón Kleiman, and Greg Mann. > > > Bugs: MESOS-9542 > https://issues.apache.org/jira/browse/MESOS-9542 > > > Repository: mesos > > > Description > ------- > > The CREATE_DISK and DESTROY_DISK operations are "non-speculative" > operations, which means the master must wait for the operations to > complete successfully before the master can update its resources. > Because the master must wait to update the results of non-speculative > operations, it is possible for the framework making the > CREATE/DESTROY_DISK to be torn down before the operation completes. > > This commit adds a test to make sure the master can gracefully handle > such a case. > > > Diffs > ----- > > src/tests/storage_local_resource_provider_tests.cpp > a661951a0a326cc342aa0c45dd0967692ae70941 > > > Diff: https://reviews.apache.org/r/69869/diff/4/ > > > Testing > ------- > > src/mesos-tests > --gtest_filter="StorageLocalResourceProviderTest.FrameworkTeardownBeforeTerminalOperationStatusUpdate" > --verbose > > One more test added next patch. > > > Thanks, > > Joseph Wu > >
