Revision 09037780 lib/server/masterd.py
b/lib/server/masterd.py | ||
---|---|---|
393 | 393 |
op = opcodes.OpTagsGet(kind=kind, name=name) |
394 | 394 |
return self._Query(op) |
395 | 395 |
|
396 |
elif method == luxi.REQ_QUERY_LOCKS: |
|
397 |
(fields, sync) = args |
|
398 |
logging.info("Received locks query request") |
|
399 |
if sync: |
|
400 |
raise NotImplementedError("Synchronous queries are not implemented") |
|
401 |
return self.server.context.glm.OldStyleQueryLocks(fields) |
|
402 |
|
|
403 | 396 |
elif method == luxi.REQ_QUEUE_SET_DRAIN_FLAG: |
404 | 397 |
(drain_flag, ) = args |
405 | 398 |
logging.info("Received queue drain flag change request to %s", |
Also available in: Unified diff