[
https://issues.apache.org/jira/browse/HDDS-1239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arpit Agarwal updated HDDS-1239:
--------------------------------
Target Version/s: 0.7.0 (was: 0.5.0)
> Use chillmode state from ChillModeManager in ChillModePrecheck
> --------------------------------------------------------------
>
> Key: HDDS-1239
> URL: https://issues.apache.org/jira/browse/HDDS-1239
> Project: Hadoop Distributed Data Store
> Issue Type: Improvement
> Components: SCM
> Affects Versions: 0.3.0
> Reporter: Nanda kumar
> Assignee: Nanda kumar
> Priority: Major
>
> Currently {{ChillModePrecheck}} is instantiated in multiple places and it
> maintains its own state of chillmode. Because of this {{BlockManagerImpl}}
> and {{SCMClientProtocolServer}} listens to chillmode status event to update
> {{ChillModePrecheck}} that they maintain.
> It will be easier if {{ChillModePrecheck}} queries {{SCMChillModeManager}} to
> get the current chillmode state. It will also make the code simple if
> {{SCMChillModeManager}} provides {{ChillModePrecheck}} instance, instead of
> everyone creating a new object of {{ChillModePrecheck}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]