removed obsolete TODO

This commit is contained in:
Svyatoslav Nikolsky 2017-10-04 12:16:45 +03:00
parent 0092417b85
commit 1b1548f539
1 changed files with 0 additions and 1 deletions

View File

@ -464,7 +464,6 @@ impl ClusterSessions {
/// Create new servers set change session.
pub fn new_servers_set_change_session(&self, master: NodeId, session_id: Option<SessionId>, nonce: Option<u64>, cluster: Arc<Cluster>, all_nodes_set: BTreeSet<NodeId>) -> Result<Arc<AdminSession>, Error> {
// TODO: check if there's no other active sessions + do not allow to start other sessions when this session is active
let session_id = match session_id {
Some(session_id) => if session_id == *SERVERS_SET_CHANGE_SESSION_ID {
session_id