• Kirill Smelkov's avatar
    lib/zodb: Teach Connection.onResyncCallback to work on ZODB4 · ceadfcc7
    Kirill Smelkov authored
    In 959ae2d0 (lib/zodb: Add patch to ZODB.Connection to support callback
    on connection DB view change) we added patch for ZODB.Connection to
    support callback when database view of the connection changes. At that
    time the patch was working for ZODB5 and ZODB4 was TODO.
    Let's add support for ZODB4 (both ZODB4 and ZODB4-wc2) now.
    
    As a reminder: ZBigFile + WCFS client integration will use this callback
    to keep WCFS connection in sync with ZODB connection.
    
    Preliminary history:
    
    kirr/wendelin.core@533a4cfa     X onResyncCallback for ZODB4
    ceadfcc7
zodb.py 13.5 KB