[
https://issues.apache.org/jira/browse/SOLR-16212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17581629#comment-17581629
]
David Smiley commented on SOLR-16212:
-------------------------------------
I think you are saying that {{deleteVersionParam}} is a flawed feature?
"deleteById creates non existing docs" is quite by-design (when this
param/feature is used; otherwise it won't).
Could you describe your use-case more? You may find it enlightening to look at
the original issue for commentary leading to the design of the feature.
> 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.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]