DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
...
Example of user’s service deployment request according to unified flow:
class DynamicServicesChangeRequestBatchMessage {
Collection<DynamicServiceChangeRequest> reqs;
}
class DynamicServiceChangeRequest {
IgniteUuid srvcId; // Unique service id (generates to deploy, existing used to undeploy)
ServiceConfiguration cfg; // Empty in case of undeploy
byte flags; // Change’s types flags [deploy, undeploy, etc.]
}
class ServicesSingleDeploymentsMessage {
...
...
Map<IgniteUuid, ServiceSingleDeploymentsResults> results;
}
class ServiceSingleDeploymentsResults {
int cnt; // Deployed instances count, 0 in case of undeploy
Collection<byte[]> errors; // Serialized exceptions to avoid issues at spi-level
}
class ServicesFullDeploymentsMessage {
ServicesDeploymentProcessId depId;
Collection<ServiceFullDeploymentsResults> results;
}
class ServiceFullDeploymentsResults {
IgniteUuid srvcId;
Map<UUID, ServiceSingleDeploymentsResults> results; // Per node
}
class ServicesDeploymentProcessId {
AffinityTopologyVersion topVer;
IgniteUuid reqId; // Unique id of custom discovery message
...
All nodes handle requests of service’s state changes and put them into deployment queue, but only the coordinator aggregates single deployments messages received from nodes and builds a full deployments to finish exchange. If coordinator left or fail during deployment exchange another server node will become the coordinator and continue the process.
...