[SERVER-1252] Limit return for tailable cursor at first readind Created: 18/Jun/10 Updated: 06/Dec/22 Resolved: 10/Nov/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Client |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Perepelitca Alexander | Assignee: | Backlog - Query Team (Inactive) |
| Resolution: | Won't Do | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Query
|
| Participants: |
| Description |
|
Tailable cursor are same what do 'tail -f'. So behavior must be the same. After execute this command user see not all lines from file |
| Comments |
| Comment by Tejaswi Nadahalli [ 13/Jan/11 ] |
|
Currently, I get around this by indexing the capped collection and doing a search on it for the last 'N' items and then tailing on it. This is egregiously sub-optimal considering the rest of Mongo's friendliness Upvoted the feature. Implementing this would ease a lot of pain for me. -T |