ceph/branches/sage/cephmds2/doc/Replication.txt
sageweil c80eca7fce sage mds branch
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1019 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-19 19:48:59 +00:00

19 lines
719 B
Plaintext

Primary copy replication.
Inodes:
- The primary's list of replicas (cached_by) is inclusive at all times.
- The primary's list never includes the local node.
- The primary's list of replicas will only include non-replicas when the relevant CacheExpire notifications are in-flight.
- Replicas can be created in two ways:
- via a Discover + DiscoverReply
- via an export and import. (The old auth keeps a copy, and adds itself to the replica list as it exports.)
Directories (and their dentries):
- The primary has an open_by list that is inclusive at all times.
- ..Never includes local node
- No per-dentry replica lists. All dentry lock operations (for unlink, etc.) are sent to all nodes in open_by list.