[ https://issues.apache.org/jira/browse/SOLR-13016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16738100#comment-16738100 ]
Andrzej Bialecki edited comment on SOLR-13016 at 1/9/19 11:01 AM: ------------------------------------------------------------------- This patch uses {{System.nanoTime()}} in several places instead of using {{cloudManager.getTimeSource().getTimeNs()}}, and this will break the simulator. Similarly, {{CoresVariable}} uses {{System.currentTimeMllis()}} (which is a forbidden API, too) where it should use {{ctx.session.cloudManager.getTimeSource().getEpochTimeNs()}} instead as the base for calculations. was (Author: ab): This patch uses {{System.nanoTime()}} in several places instead of using {{cloudManager.getTimeSource().getTimeNs()}} so it will break the simulator. > Computing suggestions when policy have "#EQUAL" or "#ALL" rules take too long > ----------------------------------------------------------------------------- > > Key: SOLR-13016 > URL: https://issues.apache.org/jira/browse/SOLR-13016 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Reporter: Noble Paul > Assignee: Noble Paul > Priority: Major > Attachments: SOLR-13016.patch, SOLR-13016.patch, SOLR-13016.patch, > SOLR-13016.patch, SOLR-13016.patch > > > When rules have computed values such as "#EQUAL" or "#ALL" , it takes too > long to compute. The problem is these values are computed too many times and > as the no:of nodes increase it almost takes forever. These values don't > change and they can be cached -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org