You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Gus Heck (Jira)" <ji...@apache.org> on 2019/10/10 01:55:00 UTC

[jira] [Commented] (SOLR-13760) Date Math in "start" attribute of routed alias causes exception

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

Gus Heck commented on SOLR-13760:
---------------------------------

Updated the PR with logic to convert date math in the start attribute for the routed alias to a specific timestamp. This  needs to get into 8.3 to avoid TRA regression so I'll likely push this to master/8x/8.3 tomorrow evening unless folks have concerns. Test beasted fine for 40 tests (20 at a time) will set it up to run longer with a higher concurrency than processor count overnight.

> Date Math in "start" attribute of routed alias causes exception
> ---------------------------------------------------------------
>
>                 Key: SOLR-13760
>                 URL: https://issues.apache.org/jira/browse/SOLR-13760
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SolrCloud
>    Affects Versions: 8.3
>            Reporter: Gus Heck
>            Assignee: Gus Heck
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The start parameter (for Time Routed Aliases and 2-Dimensional Routed Aliases using time components) is meant to accept date math as well as a timestamp. However it seems that none of the tests actually test this, and my changes for DRA forgot to account for it in one place, so an exception is thrown adding a document to an alias with such a configuration. Will add a test and a fix. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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