Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Unfortunately, when introducing the ability to disable implicit acknowledgements, we accidentally disabled them by default for Python schedulers.
int MesosSchedulerDriverImpl_init(MesosSchedulerDriverImpl* self, PyObject* args, PyObject* kwds) { // Note: We use an integer for 'implicitAcknoweldgements' because // it is the recommended way to pass booleans through CPython. PyObject* schedulerObj = NULL; PyObject* frameworkObj = NULL; const char* master; int implicitAcknowledgements; // XXX Should be set to 1 by default! PyObject* credentialObj = NULL; if (!PyArg_ParseTuple( args, "OOs|iO", &schedulerObj, &frameworkObj, &master, &implicitAcknowledgements, &credentialObj)) { return -1; }
The default should be to preserve backwards compatibility, by enabling implicit acknowledgments.
Attachments
Issue Links
- blocks
-
MESOS-2579 0.22.1 release
- Resolved