[ https://issues.apache.org/jira/browse/SOLR-16212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lamine resolved SOLR-16212. --------------------------- Resolution: Won't Fix I feel this is not solvable in the state of the art. The issue here is you cannot make conclusion if the doc exist or not as concurrent updates can hit the same doc the same time, some for deletes and others for updates. Using _version_ field to resolve version conflicts doesn't help unless we add a 4th option (something like "{_}if request.version > doc.version"{_}) as opposed to the 3 existing options (-1, 0, 1). > DocBasedVersionConstraintsProcessor's deleteById creates non existing docs > -------------------------------------------------------------------------- > > Key: SOLR-16212 > URL: https://issues.apache.org/jira/browse/SOLR-16212 > Project: Solr > Issue Type: Bug > Reporter: Lamine > Priority: Minor > > Calling _deleteById_ in _DocBasedVersionConstraintsProcessor_ adds the > document (As tombstone) even if the doc does not exist. > > I feel this is not solvable in the state of the art. The issue here is you > cannot make conclusion if the doc exist or not as concurrent updates can hit > the same doc the same time, some for deletes and others for updates. Using > _version_ field to resolve version conflicts doesn't help unless we add a 4th > option (something like "{_}if request version > doc version"{_}) as opposed > to the 3 existing options (-1, 0, 1). > -- This message was sent by Atlassian Jira (v8.20.7#820007) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org