[ 
https://issues.apache.org/jira/browse/IGNITE-12701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17042041#comment-17042041
 ] 

Vladimir Steshin edited comment on IGNITE-12701 at 2/27/20 12:31 PM:
---------------------------------------------------------------------

Changes in public behavior:

1) Involved optional flag 'force' for control.sh (bat) with --deactivate and 
--set-sate:
control.sh --deactivate [--force]
control.sh --set-state INACTIVE[--force]

2) Involved optional parameter 'force=true|false' for REST cluster state 
requests:
http://127.0.0.1:8092/ignite?cmd=deactivate&force=true
http://127.0.0.1:8092/ignite?cmd=inactive&force=true
http://127.0.0.1:8092/ignite?cmd=setstate&state=INACTIVE&force=true

Major code changes:

1) Added GridClientClusterStateRequestV2.
2) Deprecated GridClientClusterStateRequest.
3) Added flag ‘force’ for REST in GridRestClusterStateRequest
4) Added flag ‘force’ CLI in DeactivateCommand, ClusterStateChangeCommand.
5) Added IgniteFeatures# FORCED_CHANGE_OF_CLUSTER_STATE.
6) Added checking of deactivation safety: GridClusterStateProcessor# 
isDeactivationSafe()
7) Involved o deactivation safety checking in GridClusterStateProcessing and 
GridClientClusterStateImpl.


was (Author: vladsz83):
Major changes:

# Added GridClientClusterStateRequestV2.
# Deprecated GridClientClusterStateRequest.
# Added flag ‘force’ for REST in GridRestClusterStateRequest
# Added flag ‘force’ CLI in DeactivateCommand, ClusterStateChangeCommand.
# Added IgniteFeatures# FORCED_CHANGE_OF_CLUSTER_STATE.
# Added checking of deactivation safety: GridClusterStateProcessor# 
isDeactivationSafe()

> Disallow silent deactivation in CLI and REST.
> ---------------------------------------------
>
>                 Key: IGNITE-12701
>                 URL: https://issues.apache.org/jira/browse/IGNITE-12701
>             Project: Ignite
>          Issue Type: Sub-task
>    Affects Versions: 2.7.6
>            Reporter: Vladimir Steshin
>            Assignee: Vladimir Steshin
>            Priority: Major
>             Fix For: 2.9
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> Disallow silent deactivation through the CLI and REST. 
> Skip JMX call 
> {code:java}
> void IgniteMXBean#active(boolean active)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to