You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2014/05/28 15:11:01 UTC

[jira] [Created] (SOLR-6115) Cleanup enum/string action types in Overseer, OverseerCollectionProcessor and CollectionHandler

Shalin Shekhar Mangar created SOLR-6115:
-------------------------------------------

             Summary: Cleanup enum/string action types in Overseer, OverseerCollectionProcessor and CollectionHandler
                 Key: SOLR-6115
                 URL: https://issues.apache.org/jira/browse/SOLR-6115
             Project: Solr
          Issue Type: Task
          Components: SolrCloud
            Reporter: Shalin Shekhar Mangar
            Priority: Minor
             Fix For: 4.9, 5.0


The enum/string handling for actions in Overseer and OCP is a mess. We should fix it.

From: https://issues.apache.org/jira/browse/SOLR-5466?focusedCommentId=13918059&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13918059
{quote}
I started to untangle the fact that we have all the strings in OverseerCollectionProcessor, but also have a nice CollectionAction enum. And the commands are intermingled with parameters, it all seems rather confusing. Does it make sense to use the enum rather than the strings? Or somehow associate the two? Probably something for another JIRA though...
{quote}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org