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

Jan Høydahl edited comment on SOLR-11127 at 1/29/19 1:46 PM:
-------------------------------------------------------------

How to handle the two time gaps when .system will return 0 hits during copying?

Let's say we add a config option to configure {{BlobHandler}} and 
{{UpdateRequestHandler}} into R/O mode (readOnly=true) where update requests 
return HTTP 503 Service Unavailable. Then we could start by setting .system in 
R/O and then safely copy back and forth and move alias only when copy is 
complete, then at the end set .system back to readOnly=false and RELOAD .system 
collection to get back to normal operation. Don't know how much work that would 
be, sounds doable.

The assumption is of course that any client should gracefully handle a 
temporary error like 503 :)


was (Author: janhoy):
How to handle the two time gaps when .system will return 0 hits during copying?

Let's say we add a config option to configure {{BlobHandler}} and 
{{UpdateRequestHandler}} into R/O mode (readOnly=true) where update requests 
return HTTP 503 Service Unavailable. Then we could start by setting .system in 
R/O and then safely copy back and forth and move alias only when copy is 
complete, then at the end set .system back to readOnly=false and RELOAD .system 
collection to get back to normal operation. Don't know how much work that would 
be, sounds doable.

> Add a Collections API command to migrate the .system collection schema from 
> Trie-based (pre-7.0) to Points-based (7.0+)
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-11127
>                 URL: https://issues.apache.org/jira/browse/SOLR-11127
>             Project: Solr
>          Issue Type: Task
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Steve Rowe
>            Assignee: Andrzej Bialecki 
>            Priority: Blocker
>              Labels: numeric-tries-to-points
>             Fix For: 8.0
>
>
> SOLR-11119 will switch the Trie fieldtypes in the .system collection's schema 
> to Points.
> Users with pre-7.0 .system collections will no longer be able to use them 
> once Trie fields have been removed (8.0).
> Solr should provide a Collections API command MIGRATESYSTEMCOLLECTION to 
> automatically convert a Trie-based .system collection to a Points-based one.



--
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

Reply via email to