• Grégory Wisniewski's avatar
    Split partition table class in two. One for the admin node, another for other · a340846d
    Grégory Wisniewski authored
    node types. Add getCellListForID() in which is computed the cell related to an
    OID or TID. Add _getPartitionTable() accessor in client application that check
    if the master connection is established or not, and reconnect to obtain the last
    partition table. Move the connecting_to_master_node lock in the accessors
    instead of connectToPrimaryMaster(). This latter method is also set as private.
    Note that the connection to primary master is not established at client startup
    but when trying to access to the partition table or the primary connection. 
    Split tests for the partition table and update others tests altered with changes
    above. Fix a database name for mysqldb module, remove some unused import.
    
    
    git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@627 71dcc9de-d417-0410-9af5-da40c76e7ee4
    a340846d
testStorageMySQLdb.py 31.2 KB