[SERVER-60492] Support clustering on capped collections by time-based expiry Created: 06/Oct/21 Updated: 29/Oct/23 Resolved: 08/Nov/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.2.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Louis Williams | Assignee: | Josef Ahmad |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Execution Team 2021-11-01, Execution Team 2021-11-15 | ||||||||
| Participants: | |||||||||
| Description |
|
Support capped, clustered collections. Accept an expireAfterSeconds option to create a capped collection when also created with the clusteredIndex option. Ensure that if this collection is not explicitly replicated that it does not serialize writes. It should explicitly replicate deletes like TTL like regular capped collections. Also ensure a clustered, capped collection is tailable, and only with a readConcern: majority cursor. |
| Comments |
| Comment by Josef Ahmad [ 16/Jun/22 ] |
|
Oh I see your point now. I've filed |
| Comment by Lingzhi Deng [ 16/Jun/22 ] |
|
Thank you josef.ahmad@mongodb.com. But if an end user tries to create a clustered capped collection, they would get an error but our documentation doesn't seem to say anything about clustered + capped. But maybe we think the error message returned by the Server is good enough? So that's probably fine then. |
| Comment by Josef Ahmad [ 16/Jun/22 ] |
|
lingzhi.deng@mongodb.com no need for public-facing documentation because per |
| Comment by Lingzhi Deng [ 16/Jun/22 ] |
|
josef.ahmad@mongodb.com louis.williams@mongodb.com Does this need a DOCS ticket? I don't see we have document for clustered capped collections. |
| Comment by Githook User [ 08/Nov/21 ] |
|
Author: {'name': 'Josef Ahmad', 'email': 'josef.ahmad@mongodb.com', 'username': 'josefahmad'}Message: |