Re: adding "{mds,mon} metadata" asok command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 20 Mar 2015, kefu chai wrote:
> on the mon side, i will apply the same approach to MMonJoin and
> MonmapMonitor, but with another prefix when putting encoding metadata
> into transaction.

The MMonJoin is only used when expanding the cluster, i.e. when first 
adding the new monitor during cluster configuration time.

> @joao, IIRC, you were suggesting me to add another paxos service for
> this purpose but is it feasible to put this data into MMonJoin and
> persist it into the paxos service's storage?
> 
> any suggestion or comments would be appreciated. if no objections, i
> will be on it.

Instead, I suggest having each mon generate the metadata during startup.  
Then, somewhere during bootstrap(), compare the stored metadata (they all 
have a copy of the mon data set) with the actual metadata, and if it 
varies send a new message (MMonUpdateMetadata?) to the leader requesting a 
change.

Joao, what do you think?

sage

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux