1. 22 Aug, 2012 5 commits
  2. 21 Aug, 2012 6 commits
  3. 20 Aug, 2012 13 commits
  4. 16 Aug, 2012 2 commits
    • Julien Muchembled's avatar
    • Julien Muchembled's avatar
      storage: fix TypeError while stopping backup · bbf16947
      Julien Muchembled authored
      This fixes the following error:
      
      PACKET #0x0012 AnswerTruncate                 > M1 (127.0.0.3:1)
      ERROR  Pre-mortem data:
      ERROR  Traceback (most recent call last):
      ERROR    File "neo/storage/app.py", line 166, in run
      ERROR      self._run()
      ERROR    File "neo/storage/app.py", line 207, in _run
      ERROR      self.doOperation()
      ERROR    File "neo/storage/app.py", line 308, in doOperation
      ERROR      task_queue[-1].next()
      ERROR    File "neo/storage/handlers/storage.py", line 240, in push
      ERROR      conn.notify(Packets.AddObject(oid, serial, *object[2:]))
      ERROR  TypeError: 'bool' object is unsubscriptable
      bbf16947
  5. 15 Aug, 2012 3 commits
  6. 14 Aug, 2012 8 commits
  7. 12 Aug, 2012 2 commits
    • Julien Muchembled's avatar
      neosimple: new --bind_ip option · 00b76f60
      Julien Muchembled authored
      00b76f60
    • Julien Muchembled's avatar
      master: check backup master behaves properly when upstream master is unreachable · f49bf829
      Julien Muchembled authored
      This fixes the following assertion failure:
      
      PACKET #0x021d Ping                           > M1 (10.0.114.64:14001)
      INFO   timeout for #0x0000021d with <ClientConnection(uuid=M1, address=10.0.114.64:14001, closed=0, handler=BackupHandler) at 2955590>
      DEBUG  connection closed for <ClientConnection(uuid=M1, address=10.0.114.64:14001, closed=1, handler=BackupHandler) at 2955590>
      ERROR  upstream master is down: connection lost
      ERROR  Pre-mortem data:
      ERROR  Traceback (most recent call last):
      ERROR    File "neo/master/app.py", line 134, in run
      ERROR      self._run()
      ERROR    File "neo/master/app.py", line 154, in _run
      ERROR      self.playPrimaryRole()
      ERROR    File "neo/master/app.py", line 344, in playPrimaryRole
      ERROR      self.backup_app.provideService()
      ERROR    File "neo/master/backup_app.py", line 129, in provideService
      ERROR      conn.close()
      ERROR    File "neo/lib/connection.py", line 541, in close
      ERROR      assert not self.isPending()
      ERROR  AssertionError
      f49bf829
  8. 10 Aug, 2012 1 commit
    • Julien Muchembled's avatar
      Start renaming UUID into NID, because node IDs are not 128 bits length anymore · b81ae60a
      Julien Muchembled authored
      SQL tables can be upgraded using:
        UPDATE config SET name = 'nid' WHERE name = 'uuid';
      
      then for MySQL:
        ALTER TABLE pt CHANGE uuid nid INT NOT NULL;
      
      or SQLite:
        ALTER TABLE pt RENAME TO old_pt;
        CREATE TABLE pt (rid INTEGER NOT NULL, nid INTEGER NOT NULL, state INTEGER NOT NULL, PRIMARY KEY (rid, nid));
        INSERT INTO pt SELECT * from old_pt;
        DROP TABLE old_pt;
      b81ae60a