[ https://issues.apache.org/jira/browse/SOLR-5944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14943573#comment-14943573 ]
Yonik Seeley commented on SOLR-5944: ------------------------------------ Whew... this seems really tricky. I've been diving into the Chaos* fails recently, and at first blush it seems like this would add more complexity to recovery as well (log replays, peer sync, etc?) What are the implications there? {quote} If, upon receiving the update on a replica, the doc version on index/tlog is not the "old version" (that means we've missed in update in between to the doc, because of reordering), then we can write this update to tlog (and mark it somehow as something we're waiting on) but not actually update the doc in the index until we receive the update whose update "old version" is what we are expecting. After doing this (for all pending updates for the doc), we could unmark the documents. {quote} It seems like we can't return success on an update until that update has actually been applied? Also, what happens to this prevPointer you are writing to the tlog if there is a commit in-between? Another approach would be to get rid of update reordering... i.e. ensure that updates are not reordered when sending from leader to replicas. > Support updates of numeric DocValues > ------------------------------------ > > Key: SOLR-5944 > URL: https://issues.apache.org/jira/browse/SOLR-5944 > Project: Solr > Issue Type: New Feature > Reporter: Ishan Chattopadhyaya > Assignee: Shalin Shekhar Mangar > Attachments: SOLR-5944.patch, SOLR-5944.patch, SOLR-5944.patch, > SOLR-5944.patch, SOLR-5944.patch, SOLR-5944.patch, SOLR-5944.patch, > SOLR-5944.patch, SOLR-5944.patch, SOLR-5944.patch, SOLR-5944.patch, > SOLR-5944.patch > > > LUCENE-5189 introduced support for updates to numeric docvalues. It would be > really nice to have Solr support this. -- 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