1. 19 Jul, 2012 1 commit
    • Julien Muchembled's avatar
      client: fix cache invalidation during a load from a storage for the same oid · 04ab2a4c
      Julien Muchembled authored
      This fixes the following an invalidation bug:
      
      ERROR ZODB.Connection Couldn't load state for 0x504e
      Traceback (most recent call last):
        File "ZODB/Connection.py", line 851, in setstate
          self._setstate(obj)
        File "ZODB/Connection.py", line 916, in _setstate
          self._load_before_or_conflict(obj)
        File "ZODB/Connection.py", line 931, in _load_before_or_conflict
          if not self._setstate_noncurrent(obj):
        File "ZODB/Connection.py", line 954, in _setstate_noncurrent
          assert end is not None
      AssertionError
      04ab2a4c
  2. 18 Jul, 2012 5 commits
  3. 17 Jul, 2012 4 commits
  4. 16 Jul, 2012 5 commits
    • Julien Muchembled's avatar
      cfbd9722
    • Julien Muchembled's avatar
      New -a and -d options to 'neolog' · e2eef562
      Julien Muchembled authored
      e2eef562
    • Julien Muchembled's avatar
      'neolog' can merge several logs · 57f6ee3d
      Julien Muchembled authored
      57f6ee3d
    • Julien Muchembled's avatar
      New -f and -F options to 'neolog' · 9888e498
      Julien Muchembled authored
      It would be unreliable to resume printing logs using a condition on date,
      so the format of log files is changed to add primary keys that number records.
      9888e498
    • Julien Muchembled's avatar
      logger: do not leave sqlite transaction open · f77a685d
      Julien Muchembled authored
      This should fix the following failure:
      
      Traceback (most recent call last):
        File "bin/neostorage", line 23, in <module>
          neo.scripts.neostorage.main()
        File "neoppod/neo/scripts/neostorage.py", line 80, in main
          app.run()
        File "neoppod/neo/storage/app.py", line 167, in run
          logging.exception('Pre-mortem data:')
        File "/usr/lib/python2.6/logging/__init__.py", line 1088, in exception
          self.error(*((msg,) + args), **{'exc_info': 1})
        File "/usr/lib/python2.6/logging/__init__.py", line 1082, in error
          self._log(ERROR, msg, args, **kwargs)
        File "/usr/lib/python2.6/logging/__init__.py", line 1173, in _log
          self.handle(record)
        File "/usr/lib/python2.6/logging/__init__.py", line 1183, in handle
          self.callHandlers(record)
        File "neoppod/neo/lib/logger.py", line 210, in callHandlers
          self._queue(record)
        File "neoppod/neo/lib/logger.py", line 200, in _queue
          self._release()
        File "neoppod/neo/lib/logger.py", line 79, in _release
          self._async.pop()(self)
        File "neoppod/neo/lib/logger.py", line 96, in flush
          self.db.execute("BEGIN")
      sqlite3.OperationalError: cannot start a transaction within a transaction
      f77a685d
  5. 13 Jul, 2012 7 commits
  6. 11 Jul, 2012 1 commit
  7. 06 Jul, 2012 1 commit
  8. 05 Jul, 2012 4 commits
  9. 19 Jun, 2012 2 commits
  10. 23 Apr, 2012 2 commits
    • Vincent Pelletier's avatar
      Document an RC bug on tpc_finish. · 6c500078
      Vincent Pelletier authored
      Also, change the way TTIDs are generated in preparation for that bug's fix:
      we will need TTID to be monotonous across master restarts and TID generator
      provides this feature.
      6c500078
    • Vincent Pelletier's avatar
      Drop "% 60" in TID generator. · fb6ffb7b
      Vincent Pelletier authored
      This should never trigger, as gmtime bases itself on a unix epoch
      timestamp which is non-monotonous on leap seconds. So gmtime cannot
      return second count above 59.
      fb6ffb7b
  11. 17 Apr, 2012 1 commit
  12. 26 Mar, 2012 5 commits
  13. 22 Mar, 2012 2 commits