[sr-dev] git:master: db_cluster: new module for generic database clustering

Juha Heinanen jh at tutpro.com
Wed Apr 4 19:15:57 CEST 2012


in order to avoid repeatedly trying dead cluster connection, how about
the following:

- define by cluster module param the default order in which connections
  with same priority are tried

- if first connection in the list fails, move that connection to the end
  of the list

advantage would be that there is no need to periodically (by counting or
timer) re-try dead connection.

default order could be taken from the order in which connections having
the same priority are listed in cluster param value.

comments?

-- juha





More information about the sr-dev mailing list