lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramkumar Aiyengar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-7859) Clamp down on use of System.currentTimeMillis
Date Sat, 15 Aug 2015 11:10:45 GMT

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

Ramkumar Aiyengar commented on SOLR-7859:
-----------------------------------------

bq. There are also a couple of cases where the usage is suspect, but I haven't got to it as
yet. One is around stats, but the more worrying thing is that we use the wall time recorded
as commit data on a commit to check if replication needs to be done. In IndexFetcher, there
is this code:

I have raised SOLR-7932 for this..

> Clamp down on use of System.currentTimeMillis
> ---------------------------------------------
>
>                 Key: SOLR-7859
>                 URL: https://issues.apache.org/jira/browse/SOLR-7859
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Ramkumar Aiyengar
>            Assignee: Ramkumar Aiyengar
>         Attachments: SOLR-7859.patch, SOLR-7859.patch, SOLR-7859.patch
>
>
> We did one round of this in SOLR-5734, but more places seem to keep cropping up. We should
do one more round, and start whitelisting places which really need it using forbidden-apis.



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

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


Mime
View raw message