[SERVER-6600] Make delete and rename a node in a tree atomic Created: 26/Jul/12 Updated: 29/Oct/14 Resolved: 29/Oct/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Usability |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Trivial - P5 |
| Reporter: | Garito | Assignee: | Ramon Fernandez Marina |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | commands | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
Giving the fact that document in a context of a tree seems for linear searches (the document with the lower Price from this node to inside) materialized paths seems to me the best+simplest way to achieve this linear goal Will be key, in that sense, to convert in atomic something like: db.nodes.remove({'Path': {$regex: '^Path:to:the:node'}}) to remove a node and its childs Perhaps the syntax needs to be redefined This two operations are so trivial but so crucial in the sense of the tree that seems pretty interessant as future features Hope you share my point and decide to implement it Thanks! |
| Comments |
| Comment by Garito [ 29/Oct/14 ] |
|
Sure, thanks! |
| Comment by Ramon Fernandez Marina [ 29/Oct/14 ] |
|
Understood, thanks for getting back to us garito. I'm going to close this ticket then, but if you start using MongoDB again and are interested in pursuing this enhancement please feel free to re-open the ticket. Regards, |
| Comment by Garito [ 29/Oct/14 ] |
|
Sorry, I don't use mongo anymore... |
| Comment by Ramon Fernandez Marina [ 29/Oct/14 ] |
|
Hi garito, looks like we let this ticket fall through the cracks – my apologies for that. If you're still interested in this improvement, would you please elaborate on the requested semantics? Could provide some sample documents and how they would look before and after the remove/update operations? Thanks, |