You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Torben Greulich (JIRA)" <ji...@apache.org> on 2017/03/13 14:02:41 UTC

[jira] [Created] (SOLR-10268) Admin UI - Collection reload leads to infinite loop

Torben Greulich created SOLR-10268:
--------------------------------------

             Summary: Admin UI - Collection reload leads to infinite loop
                 Key: SOLR-10268
                 URL: https://issues.apache.org/jira/browse/SOLR-10268
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: Admin UI
            Reporter: Torben Greulich
            Priority: Minor


Reloading a collection takes about 15s for us. If we use the reload button in collections admin ui the server ends in an infinite loop of reloading requests.
We checked the browser traffic and every 10 seconds the reload requests ends in Status "cancelled" due to a timeout and a new reload request is triggered. If the reloading takes above 10s it will always end in an infinite loop.

We checked the angular files of solr and inspected this part to be responsible for the 10s timeout:

file: /js/angular/app.js

.factory('httpInterceptor', function($q, $rootScope, $timeout, $injector) {
  var activeRequests = 0;
...
    activeRequests++;
    config.timeout = 10000;
    return config || $q.when(config);
  };



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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