scality / RestBlockDriver

RestBlockDriver
http://www.scality.com
GNU General Public License v3.0
13 stars 6 forks source link

Add Pooling for multiple volume repositories #10

Open Joacchim opened 10 years ago

Joacchim commented 10 years ago

Currently, the driver only supports having a fail-over list or servers.

We need to be able to define pools that would allow using different volume repositories at the same time from the same driver. Those pools may need to be saved locally for reload purposes. For instance, here is how the /sys filesystem could look:

/sys/class/dewb/
               /debug
               /pools/
                     /add
                     /remove
                     /pool1/
                           /add_mirrors
                           /remove_mirrors
                           /create
                           /destroy
                     /pool2/
                           /add_mirrors
                           /remove_mirrors
                           /create
                           /destroy
...
scality commented 10 years ago

all parameters (timeouts, mirros, etc) shall be pool specific