You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2018/06/26 19:27:00 UTC

[jira] [Created] (SOLR-12521) TRA: evaluate autoDeleteAge independently of when collections are created

David Smiley created SOLR-12521:
-----------------------------------

             Summary: TRA: evaluate autoDeleteAge independently of when collections are created
                 Key: SOLR-12521
                 URL: https://issues.apache.org/jira/browse/SOLR-12521
             Project: Solr
          Issue Type: Task
      Security Level: Public (Default Security Level. Issues are Public)
          Components: SolrCloud
            Reporter: David Smiley


Today, aging out the oldest collection due to exceeding autoDeleteAge occurs immediately before new collections in the Time Routed Alias are created.  It's performed by MaintainRoutedAliasCmd.  While this is fine, it would be better if this were evaluated at additional circumstances -- basically whenever we get new documents.  This would make the TRA more responsive to dynamic changes in this metadata and it would allow more effective use of finer granularity of autoDeleteAge than the interval size.  Furthermore, once we create new TRA collections preemptively (SOLR-12357), we'll probably want this even more since otherwise the oldest collection will tend to stick around longer.  SOLR-12357 could probably share some logic here since both will involve preemptive action (action that does not delay routing the current document) by the TimeRoutedAliasUpdateProcessor, and both need to deal with not overloading the overseer with effectively redundant requests.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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