1. 14 Aug, 2012 7 commits
  2. 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
  3. 10 Aug, 2012 2 commits
  4. 09 Aug, 2012 2 commits
  5. 08 Aug, 2012 3 commits
  6. 01 Aug, 2012 2 commits
  7. 31 Jul, 2012 3 commits
  8. 26 Jul, 2012 1 commit
  9. 24 Jul, 2012 2 commits
  10. 23 Jul, 2012 8 commits
  11. 20 Jul, 2012 2 commits
  12. 19 Jul, 2012 2 commits
  13. 18 Jul, 2012 4 commits
    • Julien Muchembled's avatar
      client: no need to create a NEOStorage instance for each ZODB connection · 5eef8d63
      Julien Muchembled authored
      If any object is modified after the start of a transaction, the snapshot
      TID of the NEOStorage is ignored because ZODB will use the TID of the first
      received invalidation.
      5eef8d63
    • Julien Muchembled's avatar
      client: always process invalidations in poll thread · bce3bc78
      Julien Muchembled authored
      This fixes an invalidation bug, including the following critical error:
      
      CRITICAL txn.140440071526144 A storage error occurred during the second phase of the two-phase commit.  Resources may be in an inconsistent state.
      ------
      ERROR Zope.SiteErrorLog 1342544345.990.582646288246 /erp5/person_module/Folder_create
      Traceback (innermost last):
        Module ZPublisher.Publish, line 137, in publish
        Module Zope2.App.startup, line 291, in commit
        Module transaction._manager, line 93, in commit
        Module transaction._transaction, line 322, in commit
        Module transaction._transaction, line 424, in _commitResources
        Module neo.client, line 42, in tpc_finish
        Module neo.client.Storage, line 135, in tpc_finish
        Module neo.client.app, line 773, in tpc_finish
        Module neo.client, line 36, in callback
        Module ZODB.DB, line 693, in invalidate
        Module ZODB.DB, line 532, in _connectionMap
        Module ZODB.DB, line 221, in map
        Module transaction.weakset, line 58, in map
        Module ZODB.DB, line 692, in inval
        Module ZODB.Connection, line 350, in invalidate
      AssertionError: invalidations out of order, '\x03\x97\xec;\x19\x86\xc9\xf6' < '\x03\x97\xec;\x19\x87_\xdd'
      bce3bc78
    • Julien Muchembled's avatar
    • Julien Muchembled's avatar
      client: small optimizations · b2ce833d
      Julien Muchembled authored
      b2ce833d