-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Fixed casing in MultiClusterStatus - Renamed singleActivation parameter - Made it explicit when the default MultiClusterRegistrationStrategy is being used (and avoid harmless unused assignment) - Fixed singleton pattern
- Loading branch information
Showing
14 changed files
with
79 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,33 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace Orleans.GrainDirectory | ||
namespace Orleans.GrainDirectory | ||
{ | ||
/// <summary> | ||
/// Status of a directory entry with respect to multi-cluster registration | ||
/// </summary> | ||
internal enum MultiClusterStatus | ||
{ | ||
OWNED, // Registration is owned by this cluster. | ||
DOUBTFUL, // Failed to contact one or more clusters while registering, so may be a duplicate. | ||
/// <summary> | ||
/// Registration is owned by this cluster. | ||
/// </summary> | ||
Owned, | ||
|
||
CACHED, // Cached reference to a registration owned by a remote cluster. | ||
/// <summary> | ||
/// Failed to contact one or more clusters while registering, so may be a duplicate. | ||
/// </summary> | ||
Doubtful, | ||
|
||
REQUESTED_OWNERSHIP, // The cluster is in the process of checking remote clusters for existing registrations. | ||
RACE_LOSER, // The cluster lost a race condition. | ||
} | ||
/// <summary> | ||
/// Cached reference to a registration owned by a remote cluster. | ||
/// </summary> | ||
Cached, | ||
|
||
/// <summary> | ||
/// The cluster is in the process of checking remote clusters for existing registrations. | ||
/// </summary> | ||
RequestedOwnership, | ||
|
||
/// <summary> | ||
/// The cluster lost a race condition. | ||
/// </summary> | ||
RaceLoser, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters