- 20 Aug, 2012 12 commits
-
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
Julien Muchembled authored
-
Vincent Pelletier authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
- catch OperationFailure - reset transaction manager when leaving backup mode - send appropriate target tid to a storage that updates a outdated cell - clean up partition table when leaving BACKINGUP state unexpectedly - make sure all readable cells of a partition have the same 'backup_tid' if they have the same data, so that we know when internal replication is finished when leaving backup mode - fix storage not finished internal replication when leaving backup mode
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
Vincent Pelletier authored
Found by pylint.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
- 16 Aug, 2012 2 commits
-
-
Julien Muchembled authored
-
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
-
- 15 Aug, 2012 3 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
This fixes a regression in commit ad01f379 ("fix leaving backup mode, including truncating to consistent TID")
-
Julien Muchembled authored
-
- 14 Aug, 2012 8 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
Without this, transactions and even objects may be missing on the backup database.
-
Julien Muchembled authored
-
- 12 Aug, 2012 2 commits
-
-
Julien Muchembled authored
-
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
-
- 10 Aug, 2012 2 commits
-
-
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;
-
Julien Muchembled authored
-
- 09 Aug, 2012 2 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
- fix stopping backup cluster - fix leaving backup mode, including truncating to consistent TID - fix backup_tid on master and storages
-
- 08 Aug, 2012 3 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 01 Aug, 2012 2 commits
-
-
Julien Muchembled authored
And contrary to previous implementation, there is no automatic reallocation of partition amongst remaining nodes. Now only 'tweak' does that.
-
Julien Muchembled authored
-
- 31 Jul, 2012 3 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 26 Jul, 2012 1 commit
-
-
Julien Muchembled authored
This fixes a bug in backup mode where 'loid' was not updated.
-