• Vincent Pelletier's avatar
    Reorder connection initialisation packets for master connection: · f627727f
    Vincent Pelletier authored
    - first, asks which master is the primary
    - then, when connected to the primary, request node identification
    - then, ask explicitely for partition table and node information, to follow query/answer schema.
    Details:
    - Master:
     - Move handleAskPrimaryMaster, handleAskNodeInformation and handleAskPartitionTable implementations to base handler to factorise code
     - handleRequestNodeIdentification is not required any more in secondary mode, only handleAskPrimaryMaster
    - Client:
     - Make bootstrap handler and master connection behave more similarly to on storage's equivalents
     - Remove PrimaryHandler (moved into PrimaryNotificationsHandler)
     - parse master node configured ip list just once, and register them to node manager just once (in app's __init__)
    
    
    git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@681 71dcc9de-d417-0410-9af5-da40c76e7ee4
    f627727f
handler.py 17.2 KB