lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dsmi...@apache.org
Subject [1/3] lucene-solr:solr-5750: SOLR-5750: remove pointless/no-op Overseer case statements for BACKUP & RESTORE (addresses a nocommit)
Date Mon, 02 May 2016 04:05:53 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/solr-5750 ef77cf7a3 -> b073d6252


SOLR-5750: remove pointless/no-op Overseer case statements for BACKUP & RESTORE
(addresses a nocommit)


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/2de35667
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/2de35667
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/2de35667

Branch: refs/heads/solr-5750
Commit: 2de35667feecf820e1f24da87891508e9e8dda67
Parents: ef77cf7
Author: David Smiley <dsmiley@apache.org>
Authored: Mon May 2 00:01:24 2016 -0400
Committer: David Smiley <dsmiley@apache.org>
Committed: Mon May 2 00:01:24 2016 -0400

----------------------------------------------------------------------
 solr/core/src/java/org/apache/solr/cloud/Overseer.java | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/2de35667/solr/core/src/java/org/apache/solr/cloud/Overseer.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/cloud/Overseer.java b/solr/core/src/java/org/apache/solr/cloud/Overseer.java
index 4e81657..904f54d 100644
--- a/solr/core/src/java/org/apache/solr/cloud/Overseer.java
+++ b/solr/core/src/java/org/apache/solr/cloud/Overseer.java
@@ -370,10 +370,6 @@ public class Overseer implements Closeable {
             return Collections.singletonList(new CollectionMutator(reader).modifyCollection(clusterState,
message));
           case MIGRATESTATEFORMAT:
             return Collections.singletonList(new ClusterStateMutator(reader).migrateStateFormat(clusterState,
message));
-          case RESTORE: // nocommit needs explaination
-            break;
-          case BACKUP:
-            break;
           default:
             throw new RuntimeException("unknown operation:" + operation
                 + " contents:" + message.getProperties());


Mime
View raw message