Mleeky / mogilefs

Automatically exported from code.google.com/p/mogilefs
0 stars 0 forks source link

using limit_by in a rebalance policy crashes the job master #40

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If you try to make use of limit_by in a replication policy it crashes the 
replication job completely, with an obscure error message in the depths of the 
syslog. It would probably be handy if the rebalance test option in mogadm 
returned an error, or even that mogadm validated the policy for syntax issues.

Original issue reported on code.google.com by stu.teas...@gmail.com on 21 Sep 2011 at 1:19

GoogleCodeExporter commented 9 years ago
What's the exact error you're getting?

Original comment by dorma...@gmail.com on 21 Sep 2011 at 4:45

GoogleCodeExporter commented 9 years ago
ping? I need the exact error you saw (and the rebalance string you were 
attempting to run if you could).

Original comment by dorma...@rydia.net on 27 Sep 2011 at 7:05

GoogleCodeExporter commented 9 years ago
the rebalance string included a limit_by=percent (which I then realised wasn't 
implemented). I'll dig out the log entries with the error in.

Original comment by stu.teas...@gmail.com on 31 Oct 2011 at 10:49

GoogleCodeExporter commented 9 years ago
Hmm, attempting to reproduce this I now get the following, remarkably useful 
error message:
Oct 31 11:28:26 euterpe mogilefsd[23091]: crash log: policy size limits by 
percent are unimplemented at /usr/share/perl5/MogileFS/Worker/JobMaster.pm line 
232

If I can't reproduce the previous issue I'll just close this off.

Original comment by stu.teas...@gmail.com on 31 Oct 2011 at 11:30

GoogleCodeExporter commented 9 years ago
closing this off for now; if you can ever reproduce the issue open a new one 
with details.

Original comment by dorma...@rydia.net on 14 Jan 2012 at 1:44