changing replication class of a file

8 views
Skip to first unread message

engin

unread,
Jul 2, 2009, 2:00:21 PM7/2/09
to mogile
hello

i googled but there is no documentation for that

how can i change the replication class of a mogilefs stored file?

there are two replication classes;
replicate -> mindevcount prop: 2 and more-replicate -> mindevcount: 5

when a file gets requested more users i wish to change its replication
class for load balancing purpose

thanks

engin

unread,
Jul 9, 2009, 7:09:33 AM7/9/09
to mogile
bump

any suggestion?

Gavin Mogan

unread,
Jul 12, 2009, 5:13:09 PM7/12/09
to mog...@googlegroups.com
upload it again with the new class?

sanados

unread,
Jul 13, 2009, 2:59:41 AM7/13/09
to mog...@googlegroups.com
Enable rebalance.
reset fsck, restart fsck

Gavin Mogan wrote:
> upload it again with the new class?
>
> On Thu, Jul 9, 2009 at 4:09 AM, engin <phpbu...@gmail.com
> <mailto:phpbu...@gmail.com>> wrote:
>
>
> bump
>
> any suggestion?
>
> On Jul 2, 9:00 pm, engin <phpbuil...@gmail.com

Justin Huff

unread,
Jul 15, 2009, 12:43:11 PM7/15/09
to mog...@googlegroups.com
I keep meaning to write a patch to allow this, but just haven't had the time.

I think it'll be pretty simple:
1. Update the class in the file table
2. enqueue for replication

That should take care of moving to a class with a higher dev count.

Reply all
Reply to author
Forward
0 new messages