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

Tim Smith commented on LUCENE-5940:
-----------------------------------

bq. Can you elaborate more? Your example of 50 indexes spread across many 
machines doesn't make me understand how it would be difficult to run this tool. 
I see the steps as:

here's the issues i would have with an "upgrade tool" approach here.

1. external network connectivity is not guaranteed 
2. i have special metadata written in the segment metadata that is important
3. i use custom codec configuration that upgrade tool would need to use
4. replicated indexes need a lot of care
5. this tool would need to be run once for each directory containing an index, 
for every node that contains indexes
- this is an ops nightmare since i won't personally be running the tool. this 
leaves lots of room for user error that is avoided completely if the index 
upgrade is seamless (via read only codecs for old versions)
6. custom directory implementations may muck up the works

in general, i don't see any way this "upgrade tool" would be useful to me 
without repackaging and adding a ton of extra code to do all the things i need 
to ensure a consistent index is emitted

> change index backwards compatibility policy.
> --------------------------------------------
>
>                 Key: LUCENE-5940
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5940
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>
> Currently, our index backwards compatibility is unmanageable. The length of 
> time in which we must support old indexes is simply too long.
> The index back compat works like this: everyone wants it, but there are 
> frequently bugs, and when push comes to shove, its not a very sexy thing to 
> work on/fix, so its hard to get any help.
> Currently our back compat "promise" is just a broken promise, because we 
> cannot actually guarantee it for these reasons.
> I propose we scale back the length of time for which we must support old 
> indexes.



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

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

Reply via email to