Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14637452
D19735.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
553 B
Referenced Files
None
Subscribers
None
D19735.diff
View Options
diff --git a/src/applications/diffusion/protocol/DiffusionRepositoryClusterEngine.php b/src/applications/diffusion/protocol/DiffusionRepositoryClusterEngine.php
--- a/src/applications/diffusion/protocol/DiffusionRepositoryClusterEngine.php
+++ b/src/applications/diffusion/protocol/DiffusionRepositoryClusterEngine.php
@@ -688,6 +688,9 @@
'fetchable.'));
}
+ // If we can synchronize from multiple sources, choose one at random.
+ shuffle($fetchable);
+
$caught = null;
foreach ($fetchable as $binding) {
try {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 11, 11:01 PM (20 h, 41 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6985788
Default Alt Text
D19735.diff (553 B)
Attached To
Mode
D19735: Explicitly shuffle nodes before selecting one for cluster sync
Attached
Detach File
Event Timeline
Log In to Comment