Skip to content

update filters out points without version to honor flushing sequence - #5871

Merged
timvisee merged 1 commit into
devfrom
no-missing-version-in-point-op
Jan 28, 2025
Merged

timvisee merged 1 commit into
devfrom
no-missing-version-in-point-op

Conversation

@agourlay

@agourlay agourlay commented Jan 24, 2025 •

Copy link
Copy Markdown
Member

Same motivation as #5866

Points without version are not well defined and should not be updated, only deleted.

Base automatically changed from no-missing-version-in-search to dev January 28, 2025 14:36

@timvisee timvisee left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is quite a fundamental change.

I totally agree that we should not rely on/use points that have no version, as I'd consider that bad practice.

I cannot think of a clear scenario where applying this change becomes problematic. In case of our copy on write operations, we always flush appendable segments first which should prevent failing to persist the moved point version before deleting the old point.

Let's merge, but keep this change in mind if we see any inconsistency problems in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants