[SERVER-517] yield on long running query Created: 02/Jan/10 Updated: 12/Jul/16 Resolved: 22/Jun/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Concurrency |
| Affects Version/s: | None |
| Fix Version/s: | 1.5.4 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Eliot Horowitz (Inactive) | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 23 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Description |
|
This will REALLY happen in 1.5.4 |
| Comments |
| Comment by auto [ 22/Jun/10 ] |
|
Author: {'login': 'erh', 'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}Message: yield based off of scanned and time |
| Comment by auto [ 22/Jun/10 ] |
|
Author: {'login': 'erh', 'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}Message: don't yield if you're a reader and only other readers are active |
| Comment by auto [ 22/Jun/10 ] |
|
Author: {'login': 'erh', 'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}Message: yield on long running queries basics |
| Comment by Dwight Merriman [ 02/Mar/10 ] |
|
MongoDB queries allow substantial interleaving of other operations when the query returns a lot of data. However when scanning and not returning data, the read lock is held. This could be periodically released (yield) to allow more interleaving of operations. |