[ 
https://issues.apache.org/jira/browse/SOLR-8129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14972668#comment-14972668
 ] 

Yonik Seeley commented on SOLR-8129:
------------------------------------

For now, I'm going to try and run with this:

{code}
Index: 
solr/core/src/java/org/apache/solr/update/processor/DistributedUpdateProcessor.java
===================================================================
--- 
solr/core/src/java/org/apache/solr/update/processor/DistributedUpdateProcessor.java
 (revision 1710343)
+++ 
solr/core/src/java/org/apache/solr/update/processor/DistributedUpdateProcessor.java
 (working copy)
@@ -1443,6 +1443,10 @@
   }
 
   private void zkCheck() {
+    if (req.getCore().getCoreDescriptor().getCoreContainer().isShutDown()) {
+      throw new SolrException(ErrorCode.SERVICE_UNAVAILABLE, "CoreContainer is 
shutting down.");
+    }
+
     if ((updateCommand.getFlags() & (UpdateCommand.REPLAY | 
UpdateCommand.PEER_SYNC)) != 0) {
       // for log reply or peer sync, we don't need to be connected to ZK
       return;
{code}


> HdfsChaosMonkeyNothingIsSafeTest failures
> -----------------------------------------
>
>                 Key: SOLR-8129
>                 URL: https://issues.apache.org/jira/browse/SOLR-8129
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Yonik Seeley
>         Attachments: fail.151005_064958, fail.151005_080319
>
>
> New HDFS chaos test in SOLR-8123 hits a number of types of failures, 
> including shard inconsistency.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to