~mysql/mysql-fabric/1.4

« back to all changes in this revision

Viewing changes to TODO

  • Committer: Mats Kindahl
  • Date: 2012-06-19 21:03:31 UTC
  • Revision ID: mats.kindahl@oracle.com-20120619210331-hsa7jtpi7c13h9zf
WL#6123: Basic HA Manager Framework

This patch implement beginning of the Hub.

The patch contain the core manager, a simple executor class, and a service
manager that currently just start a single XML-RPC protocol server. The
executor module also contain two function decorators ("primitive" and
"coordinated") used to implement the procedures of the system.

The service manager automatically loads services from the mysql.hub.services
package, but does not include examples of such a service.

The patch also demonstrate how to implement new commands by creating commands
for starting and stopping the command center.  You will find the implementation
of the "shutdown" command in the next patch, since it requires a service.

The patch includes configuration file handling and a sample configuration file.
This configuration file can be used with the two commands provided with this
patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
   
 
2
* Move configuration file handling to mysql.hub.config
 
3
 
 
4
- Support multiple configuration files
 
5
 
 
6
* Move option handling to mysql.hub.options
 
7
 
 
8
- Add all default options
 
9
   
 
10
- Load command-specific options from command module
 
11
 
 
12
- Handle that some options overload configuration options
 
13
 
 
14
* Support killing hub process using signals
 
15
 
 
16
- This requires storing the PID in a pid-file
 
17
 
 
18
- Process should accept HUP and shut down cleanly
 
19
 
 
20
* Add generation of BAT-files to support Windows
 
21
 
 
22
- Currently, we only generate Python scripts for Unices.
 
23
 
 
24
- We should also generate BAT scripts for Windows that call the appropriate module
 
25
 
 
26
* Fix logger to show submodule logging
 
27
 
 
28
- Currently, there is just one logging level, which makes it hard to debug.
 
29
 
 
30
- We should set the logger for each module to the module name.
 
31