cea-hpc / shine

Lustre administration tool
GNU General Public License v2.0
22 stars 9 forks source link

Cache file should not expand clients and routers declarations #177

Closed degremont closed 7 years ago

degremont commented 10 years ago

Clients declarations line in model file are expanded when cache file is created. If you have a large number of clients (> 5000), file parsing when reading it could be quite slow. This should not be expanded anymore. This could be done quite easily fixing ModelFile class and iter_clients() but this would break Update command which expect Modet.get() to return an already expanded content.

Reported by: degremont

degremont commented 9 years ago

Original comment by: degremont

degremont commented 7 years ago

Original comment by: degremont

degremont commented 7 years ago

Fixed in 433f13cc5c40c192667098b90f740ca7fb521018

Original comment by: degremont