On Tue, May 05, 2015 at 02:23:50PM +0200, 'Klaus Aehlig' via ganeti-devel wrote:
The addition of new jobs is now handled by luxid; hence the
job's job queue does not need to care about this.
Signed-off-by: Klaus Aehlig <[email protected]>
---
lib/jqueue/__init__.py | 5 -----
1 file changed, 5 deletions(-)
diff --git a/lib/jqueue/__init__.py b/lib/jqueue/__init__.py
index c7cb9cc..ceb3e96 100644
--- a/lib/jqueue/__init__.py
+++ b/lib/jqueue/__init__.py
@@ -1423,11 +1423,6 @@ class JobQueue(object):
self.acquire = self._lock.acquire
self.release = self._lock.release
- # Read serial file
- self._last_serial = jstore.ReadSerial()
- assert self._last_serial is not None, ("Serial file was modified between"
- " check in jstore and here")
-
# Get initial list of nodes
self._nodes = dict((n.name, n.primary_ip)
for n in cfg.GetAllNodesInfo().values()
--
2.2.0.rc0.207.ga3a616c
LGTM