Changeset View
Changeset View
Standalone View
Standalone View
src/docs/user/cluster/cluster_repositories.diviner
@title Cluster: Repositories | @title Cluster: Repositories | ||||
@group cluster | @group cluster | ||||
Configuring Phabricator to use multiple repository hosts. | Configuring Phabricator to use multiple repository hosts. | ||||
Overview | Overview | ||||
======== | ======== | ||||
WARNING: This feature is a very early prototype; the features this document | |||||
describes are mostly speculative fantasy. | |||||
If you use Git, you can deploy Phabricator with multiple repository hosts, | If you use Git, you can deploy Phabricator with multiple repository hosts, | ||||
configured so that each host is readable and writable. The advantages of doing | configured so that each host is readable and writable. The advantages of doing | ||||
this are: | this are: | ||||
- you can completely survive the loss of repository hosts; | - you can completely survive the loss of repository hosts; | ||||
- reads and writes can scale across multiple machines; and | - reads and writes can scale across multiple machines; and | ||||
- read and write performance across multiple geographic regions may improve. | - read and write performance across multiple geographic regions may improve. | ||||
▲ Show 20 Lines • Show All 271 Lines • ▼ Show 20 Lines | |||||
**Last Writer**: This column identifies the user who most recently pushed a | **Last Writer**: This column identifies the user who most recently pushed a | ||||
change to this device. If the write lock is currently held, this user is | change to this device. If the write lock is currently held, this user is | ||||
the user whose change is holding the lock. | the user whose change is holding the lock. | ||||
**Last Write At**: When the most recent write started. If the write lock is | **Last Write At**: When the most recent write started. If the write lock is | ||||
currently held, this shows when the lock was acquired. | currently held, this shows when the lock was acquired. | ||||
Cluster Failure Modes | Cluster Failure Modes | ||||
===================== | ===================== | ||||
There are three major cluster failure modes: | There are three major cluster failure modes: | ||||
- **Write Interruptions**: A write started but did not complete, leaving | - **Write Interruptions**: A write started but did not complete, leaving | ||||
the disk state and cluster state out of sync. | the disk state and cluster state out of sync. | ||||
- **Loss of Leaders**: None of the devices with the most up-to-date data | - **Loss of Leaders**: None of the devices with the most up-to-date data | ||||
▲ Show 20 Lines • Show All 184 Lines • Show Last 20 Lines |