[SERVER-2110] findandmodify should support scatter/gather Created: 16/Nov/10 Updated: 12/Dec/23 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | features we're not sure of |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Dwight Merriman | Assignee: | Backlog - Cluster Scalability |
| Resolution: | Unresolved | Votes: | 2 |
| Labels: | RachitaD | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Cluster Scalability
|
| Participants: |
| Description |
|
findandmodify should eventually support scatter/gather operations as it does a single document (at most), mongos presumably would serialize messages to each shard. it would try one, and if a result, return it. if no result, it would try the next shard. for best performance, on a new findandmodify command request, it would make sense for the mongos to start with the shard that last returned a result, and only advance once it has nothing to do. |