1. 16 Nov, 2016 3 commits
    • Kirill Smelkov's avatar
      zodbcmp - Tool to compare two ZODB databases · 66946b8d
      Kirill Smelkov authored
      This is a tool to compare two ZODB databases in between tidmin..tidmax
      transaction range with default range being -∞..+∞ - (whole database).
      
      For comparision both databases are scanned at storage layer and every
      transaction content is compared bit-to-bit between the two. The program stops
      either at first difference found, or when whole requested transaction range is
      scanned with no difference detected.
      
      Database storages are specified in files with ZConfig-based storage definition, e.g.
      
          %import neo.client
          <NEOStorage>
              master_nodes    ...
              name            ...
          </NEOStorage>
      
      Please see nexedi/neoppod!4 for
      one of possible contexts.
      
      The tool is generic though and is not NEO-specific. It should be able to
      even check two different storages like ZEO & NEO, or FileStorage and NEO
      etc and thus can be handy.
      
      TODO tests
      66946b8d
    • Kirill Smelkov's avatar
      66a03ae5
    • Kirill Smelkov's avatar
      Start of zodbtools.git · fd6ad1b9
      Kirill Smelkov authored
      Project to be a place for various ZODB utilitieis. Jim Fulton suggested
      to have it separate from ZODB/scripts/ [1] and now we have it here.
      
      [1] https://github.com/zopefoundation/ZODB/pull/128#issuecomment-260970932
      fd6ad1b9