commit | 28ff20d4990ec2097852a5cd16966628d89c31d3 | [log] [tgz] |
---|---|---|
author | Andrei Sekretenko <asekretenko@mesosphere.com> | Thu Sep 24 16:12:46 2020 +0200 |
committer | Andrei Sekretenko <asekretenko@mesosphere.com> | Fri Sep 25 18:03:34 2020 +0200 |
tree | c196f3c3fb867df2b4df324afddc571ad9624bad | |
parent | 242f49ee95e0bcac68d67e0d07f0ce5f3a133e87 [diff] |
Made offer constraints filter and protobuf non-optional inside the code. Given that Mesos now provides a guarantee that specifying no offer constraint in UPDATE_FRAMEWORK/SUBSCRIBE call is equivalent to specifying default-constructed `OfferConstraints`, and that we are intending to make the V0 scheduler driver always require offer constraints as an argument to the `updateFramework()`, it no longer makes sense to keep `OfferConstraints`/`OfferConstraintsFilter` optional inside the Mesos code base. This patch replaces a non-set `Option<OfferConstraints>` with default-constructed `OfferConstraints`, and a non-set `Option<OfferConstraintsFilter>` with a default-constructed filter. Review: https://reviews.apache.org/r/72897
Apache Mesos is a cluster manager that provides efficient resource isolation and sharing across distributed applications, or frameworks. It can run Hadoop, Jenkins, Spark, Aurora, and other frameworks on a dynamically shared pool of nodes.
Visit us at mesos.apache.org.
Documentation is available in the docs/ directory. Additionally, a rendered HTML version can be found on the Mesos website's Documentation page.
Instructions are included on the Getting Started page.
Apache Mesos is licensed under the Apache License, Version 2.0.
For additional information, see the LICENSE and NOTICE files.