You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@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.
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
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.
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.
Activity
mlucy commentedon Jan 6, 2016
@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.
danielmewes commentedon Feb 13, 2016
This is implemented in branch ckastorff_4777_getintersecting_changefeed and now in code review 3476.
This also introduces a change to the behavior of
getIntersectingandgetNearestwith 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
danielmewes commentedon Feb 13, 2016
(I should note that @encryptio did the difficult parts of this. I only implemented some last pieces).
thelinuxlich commentedon Feb 14, 2016
Does this enables compound geo indexes?
danielmewes commentedon Feb 15, 2016
@thelinuxlich No, that will need almost completely separate changes.
danielmewes commentedon Mar 30, 2016
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.
danielmewes commentedon Mar 30, 2016
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
getIntersectingchangefeed. 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.danielmewes commentedon Mar 30, 2016
Implemented in next 9e3bba0
Changefeeds on getIntersecting queries.