Skip to content

Allow changefeeds on getIntersecting #4777

Closed

Description

@danielmewes

Once #4063 is fixed, this should be really easy.

Activity

  1. added this to the subsequent milestone on Aug 28, 2015
  2. self-assigned this
    on Nov 9, 2015
  3. modified the milestones: 2.3, subsequent on Jan 6, 2016
  4. mlucy commented on Jan 6, 2016

    @mlucy
    Member

    @encryptio and I worked on this a little more today. It's basically done aside from tests. There was one issue that I vaguely remember existing but which neither he nor I could remember the details of and which didn't appear to actually be present in the code, so we should keep an eye out for that during code review.

    Moving to 2.3 since it's basically done and last I heard we needed it for Fusion.

  5. danielmewes commented on Feb 13, 2016

    @danielmewes
    MemberAuthor

    This is implemented in branch ckastorff_4777_getintersecting_changefeed and now in code review 3476.

    This also introduces a change to the behavior of getIntersecting and getNearest with respect to multi indexes.
    Previously, geospatial queries would never emit duplicate results. Now they do emit duplicates if the same document intersects with the queried range multiple times under different index keys.
    This addresses #3351

  6. danielmewes commented on Feb 13, 2016

    @danielmewes
    MemberAuthor

    (I should note that @encryptio did the difficult parts of this. I only implemented some last pieces).

  7. thelinuxlich commented on Feb 14, 2016

    @thelinuxlich

    Does this enables compound geo indexes?

  8. danielmewes commented on Feb 15, 2016

    @danielmewes
    MemberAuthor

    @thelinuxlich No, that will need almost completely separate changes.

  9. modified the milestones: , 2.3 on Mar 30, 2016
  10. danielmewes commented on Mar 30, 2016

    @danielmewes
    MemberAuthor

    Unfortunately there are still issues with the implementation, and I don't think we can ship this with 2.3. Sorry everyone who has been waiting for this. It will definitely be in 2.4.

  11. danielmewes commented on Mar 30, 2016

    @danielmewes
    MemberAuthor

    There's actually hope again. We found a work-around that avoids the remaining issues so far.

    The work-around is to internally disable batching for the initial read from a getIntersecting changefeed. This increases the memory footprint of a getIntersecting changefeed with initial values, but shouldn't be an issue as long as the result set isn't too big.

  12. modified the milestones: 2.3, on Mar 30, 2016
  13. danielmewes commented on Mar 30, 2016

    @danielmewes
    MemberAuthor

    Implemented in next 9e3bba0

  14. added a commit that references this issue on Aug 7, 2026
    97a5ad1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions