Full cluster shutdown (#29838)
* member information for full cluster shutdown * Cluster singleton: dont hand over when in ready for shutdown * Noop everything in shard coordinator * Set all members to preparing for shutdown * Don't allow a node to join after prepare for shutdown * Review feedbac: singleton listen to all member chagnes * Java API * More better * Keep sharding working while ready for shutdown * Mima * Revert DEBUG logging * gs * Fix api doc link * Missed review feedback * Review feedback
This commit is contained in:
parent
278a36d036
commit
c5f16dcee1
22 changed files with 911 additions and 183 deletions
|
|
@ -166,6 +166,14 @@ public final class ClusterMessages {
|
|||
* <code>WeaklyUp = 6;</code>
|
||||
*/
|
||||
WeaklyUp(6),
|
||||
/**
|
||||
* <code>PreparingForShutdown = 7;</code>
|
||||
*/
|
||||
PreparingForShutdown(7),
|
||||
/**
|
||||
* <code>ReadyForShutdown = 8;</code>
|
||||
*/
|
||||
ReadyForShutdown(8),
|
||||
;
|
||||
|
||||
/**
|
||||
|
|
@ -196,6 +204,14 @@ public final class ClusterMessages {
|
|||
* <code>WeaklyUp = 6;</code>
|
||||
*/
|
||||
public static final int WeaklyUp_VALUE = 6;
|
||||
/**
|
||||
* <code>PreparingForShutdown = 7;</code>
|
||||
*/
|
||||
public static final int PreparingForShutdown_VALUE = 7;
|
||||
/**
|
||||
* <code>ReadyForShutdown = 8;</code>
|
||||
*/
|
||||
public static final int ReadyForShutdown_VALUE = 8;
|
||||
|
||||
|
||||
public final int getNumber() {
|
||||
|
|
@ -225,6 +241,8 @@ public final class ClusterMessages {
|
|||
case 4: return Down;
|
||||
case 5: return Removed;
|
||||
case 6: return WeaklyUp;
|
||||
case 7: return PreparingForShutdown;
|
||||
case 8: return ReadyForShutdown;
|
||||
default: return null;
|
||||
}
|
||||
}
|
||||
|
|
@ -22446,10 +22464,11 @@ public final class ClusterMessages {
|
|||
"\002(\r\022\031\n\021allowLocalRoutees\030\003 \002(\010\022\017\n\007useRol" +
|
||||
"e\030\004 \001(\t\022\020\n\010useRoles\030\005 \003(\t*D\n\022Reachabilit" +
|
||||
"yStatus\022\r\n\tReachable\020\000\022\017\n\013Unreachable\020\001\022" +
|
||||
"\016\n\nTerminated\020\002*b\n\014MemberStatus\022\013\n\007Joini" +
|
||||
"ng\020\000\022\006\n\002Up\020\001\022\013\n\007Leaving\020\002\022\013\n\007Exiting\020\003\022\010" +
|
||||
"\n\004Down\020\004\022\013\n\007Removed\020\005\022\014\n\010WeaklyUp\020\006B\035\n\031a" +
|
||||
"kka.cluster.protobuf.msgH\001"
|
||||
"\016\n\nTerminated\020\002*\222\001\n\014MemberStatus\022\013\n\007Join" +
|
||||
"ing\020\000\022\006\n\002Up\020\001\022\013\n\007Leaving\020\002\022\013\n\007Exiting\020\003\022" +
|
||||
"\010\n\004Down\020\004\022\013\n\007Removed\020\005\022\014\n\010WeaklyUp\020\006\022\030\n\024" +
|
||||
"PreparingForShutdown\020\007\022\024\n\020ReadyForShutdo" +
|
||||
"wn\020\010B\035\n\031akka.cluster.protobuf.msgH\001"
|
||||
};
|
||||
descriptor = akka.protobufv3.internal.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue