SOLR-5580: NPE when creating a core with both explicit shard and coreNodeName.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_6@1553969 13f79535-47bb-0310-9956-ffa450edef68
SOLR-5552: Leader recovery process can select the wrong leader if all replicas for a shard are down and trying to recover as well as lose updates that should have been recovered.
SOLR-5569 A replica should not try and recover from a leader until it has published that it is ACTIVE.
SOLR-5568 A SolrCore cannot decide to be the leader just because the cluster state says no other SolrCore's are active.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_6@1553973 13f79535-47bb-0310-9956-ffa450edef68
SOLR-5569: fix how this check is done - we need to hit the rest of the loop, not continue

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_6@1553974 13f79535-47bb-0310-9956-ffa450edef68
merge back latest delete replica tests

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_6@1553976 13f79535-47bb-0310-9956-ffa450edef68
SOLR-5547: Creating a collection alias using SolrJ's CollectionAdminRequest sets the alias name and the collections to alias to the same value.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_6@1553977 13f79535-47bb-0310-9956-ffa450edef68
SOLR-5552: Add CHANGES entry
SOLR-5569: Add CHANGES entry
SOLR-5568: Add CHANGES entry

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_6@1553978 13f79535-47bb-0310-9956-ffa450edef68
SOLR-5496: We should share an http connection manager across non search HttpClients and ensure all http connection managers get shutdown.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_6@1553984 13f79535-47bb-0310-9956-ffa450edef68