Permalink
Browse files

will replicate backups to both pending backups and permanent backups

  • Loading branch information...
1 parent a7269f6 commit bd30ebca1a3526ba67880d31a5081c996cbf61c9 ayenderahien committed Jun 5, 2009
Showing with 3 additions and 1 deletion.
  1. +3 −1 Rhino.DistributedHashTable/Internal/DistributedHashTableNode.cs
@@ -76,7 +76,9 @@ public bool IsSegmentOwned(int segment)
IExtendedRequest[] requests)
{
var ownerSegment = Topology.GetSegment(segment);
- foreach (var otherBackup in ownerSegment.PendingBackups
+ foreach (var otherBackup in ownerSegment
+ .PendingBackups
+ .Concat(ownerSegment.Backups)
.Append(ownerSegment.AssignedEndpoint)
.Where(x => x != endpoint))
{

0 comments on commit bd30ebc

Please sign in to comment.