• Kirill Smelkov's avatar
    lib/zodb: Add patch to ZODB.Connection to support callback on connection DB view change · 959ae2d0
    Kirill Smelkov authored
    Wendelin.core 2 will need to hook into when client ZODB.Connection
    changes its database view and readjust WCFS-level client connection
    accordingly.
    
    ZODB.Connection can change its view on either connection reopen, or even
    without reopen on start of new transaction.
    
    This patch implements ZODB.Connection.onResyncCallback for ZODB5 only.
    
    ZODB4 and ZODB3 support is TODO.
    959ae2d0
zodb.py 10.4 KB