Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot change mindevcount on class #61

Open
GoogleCodeExporter opened this issue Mar 16, 2015 · 3 comments
Open

Cannot change mindevcount on class #61

GoogleCodeExporter opened this issue Mar 16, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link
Contributor

Hi
Got troubles in changing mindevcount on class

#mogadm class list
 domain               class                mindevcount   replpolicy  
-------------------- -------------------- ------------- ------------
 images               default                   2       MultipleHosts()

mogadm class modify images default --mindevcount=3

#mogadm class list
 domain               class                mindevcount   replpolicy  
-------------------- -------------------- ------------- ------------
 images               default                   2      MultipleHosts()

So nothing was changed
CentOs 6.2 MogileFS 2.60




Original issue reported on code.google.com by [email protected] on 2 May 2012 at 1:42

@GoogleCodeExporter
Copy link
Contributor Author

Checked in database:

mysql> use mogilefs;
mysql> select * from class;
+------+---------+-----------+-------------+-----------------+
| dmid | classid | classname | mindevcount | replpolicy      |
+------+---------+-----------+-------------+-----------------+
|    1 |       1 | default   |           3 | MultipleHosts() |
+------+---------+-----------+-------------+-----------------+
1 row in set (0.00 sec)

But mogadm still show mindevcount 2

Original comment by [email protected] on 2 May 2012 at 1:46

@GoogleCodeExporter
Copy link
Contributor Author

Had you "mogadm class add"'ed the "default" class before modifying it, or was 
it autocreated for you?

Does restarting the tracker give you the proper output? I'll leave this bug 
open until we figure out how that was missed in the config sync.

Original comment by [email protected] on 2 May 2012 at 7:43

@GoogleCodeExporter
Copy link
Contributor Author

At begin class default was autocreated.

And i couldn't change any settings, command 
mogadm class modify images default --mindevcount=3
Showed me class not found.

Then i went to DB and check - class didn't exist in db.
So i did 
mogadm class create images default --mindevcount=3

thats full story how it was 




Original comment by [email protected] on 3 May 2012 at 7:06

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant