Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compensating write not emitted when updating a Geo-Object. #1538

Closed
clementetb opened this issue Oct 6, 2023 · 0 comments
Closed

Compensating write not emitted when updating a Geo-Object. #1538

clementetb opened this issue Oct 6, 2023 · 0 comments
Assignees

Comments

@clementetb
Copy link
Contributor

clementetb commented Oct 6, 2023

This issue is meant to track the following behavior in sync:

There are some incongruences on when a compensating write is emitted when updating a Geo object with a point outside of the subscription view.

Reproduction steps:

  1. Create an geo-object with a point within the subscription view, upload changes
  2. Update geo-object with a point outside of the subscription view, upload changes.

If the subscription was created with GeoCircle or GeoBox sync would emit a compensating write after the update, if GeoPolygon was used no comp. write will be emitted.

Even if no comp was emitted the GeoPolygon object would not be available locally after the update, and the mongodb instance would contain the geo-object with the invalid location.

@clementetb clementetb self-assigned this Oct 6, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant