[SERVER-8746] $push w/ $sort: make $slice optional Created: 26/Feb/13  Updated: 07/Mar/14  Resolved: 01/Oct/13

Status: Closed
Project: Core Server
Component/s: Write Ops
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Aaron Heckmann Assignee: Scott Hernandez (Inactive)
Resolution: Duplicate Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-8069 Support full $slice / $sort semantics... Closed
Related
is related to SERVER-991 $push with $slice + $sort Closed
is related to SERVER-6399 Refactor update() code Closed
is related to SERVER-8069 Support full $slice / $sort semantics... Closed
Participants:

 Description   

In SERVER-991 we added $push with $slice and $sort. As implemented, $slice is required. This ticket is to make it optional.

For now, users can just specify $slice: -999999999 to get around this requirement.



 Comments   
Comment by Scott Hernandez (Inactive) [ 01/Oct/13 ]

dup of SERVER-8069

Generated at Thu Feb 08 03:18:19 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.